Question: C Programming Question: Design a C program (Please not C++) to teach multiplication tables. Use the function rand( ) to generate two integer numbers between

C Programming Question:

Design a C program (Please not C++) to teach multiplication tables. Use the function rand( ) to generate two integer numbers between 1 to 9. Your program will first ask a question, such as: 6 7 = ? The student should then type the answer on the same line. Then your program checks the students answer.

If it is correct, print Very good! and then ask another multiplication question. If the answer is wrong, print No. Please try again. and then let the student try the same question again repeatedly. The loop will end if the student enters -1 as the answer.

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!