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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started