1. Exercise 5.23 Write a program that prints the following diamond shape. You may use output statements that print either a sigle asterisk(*) or a single blank. Maximize your use of repetition (with nested for statements) and minimize the number of output statements. * *** ***** ******* ********* ******* ***** *** * 2. Exercise 6.36 Computers are playing an increasing role in education. Write a program that helps an elementary school student learn multiplication. Use rand to produce two positive one-digit integers. It should then type a question such as How much is 6 times 7? The student then types the answer. If the answer is right, print one of the following comments: Very good! Excellent! Nice work! Keep up the good work! Response to the in correct answer with one of the following comments and then let the student try the same question until the student finally get it right. No. Please try again. Wrong. Try once more. Don't give up! No. Keep trying. Use the random number generator to choose a number from 1 to 4 to select an appropriate response to each answer. Use a switch statement to issue the response.