(Computers in in Education )computers are playing an increasing role in educatio
ID: 3617728 • Letter: #
Question
(Computers in in Education )computers are playing an increasing role in education. Write aprogram that helps an elementary school student learnmultiplication . Use rand to produce two positive one-digitintegers . It should then type a question such as:How much is 6 times ?
The student then types the answer , Your program checks thestudent`s answer . If it is correct , print "very good" , then askanother multiplicatiom question . If the answer is wrong , print"No. Please try again" , then let the student try the same questionrepeatedly until the student finally gets it right.
Explanation / Answer
please rate - thanks #include using namespace std; int main() {int num1,num2,prod,ans; srand(time(0)); for(; ;) {num1=rand()%10; num2=rand()%10; coutRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.