Question: In C please. Computers are playing an increasing role in education. Write a program that will help an elementary school student learn multiplication. Use rand

In C please.

Computers are playing an increasing role in education. Write a program that will help an elementary school student learn multiplication. Use rand to produce two positive one-digit integers. It should then display a question such as: How much is 6 times 7? The student types the answer and your program validates the student's answer. If it is correct, display a message "Very Good!" and then ask if the student wants another multiplication question.

Then modify the program so various comments are printed for each correct answer and each incorrect answer as follows. Responses to a correct answer: Very Good! Excellent! Nice Work! Keep up the good work! Responses to an incorrect answer: No please try again! Use the random number generator to choose a number from 1 to 4 to select an appropriate response to each answer. Use switch structure with printf statements to issue the response.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!