c++ Computers are playing an increasing role in education. Write a program that
ID: 3757495 • Letter: C
Question
c++
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 two-digit integers. It should then type a question such as: How much is 64 79? The student then types the answer. Your program checks the student's answer. If it is correct, print Wery good!" and then ask another addition question. If the answer is wrong, print "No. Please try again." and then let the student try the same question again repeatedly until the student finally gets it right. Terminate the program when the student has 10 right answers.Explanation / Answer
#include #include #include using namespace std; int main() { srand(time(NULL)); int n1, n2, answer; for(int i = 0; i < 10; ++i) { n1 = rand() % 100; n2 = rand() % 100; while (true) { coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.