Write program use a rand() function to produce two positive integer. Program should promt user question.How much is 6 times 7? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Write program use a rand() function to produce two positive integer. Program should promt user question.How much is 6 times 7?

The student then inputs the answer. Next the program checks the students answer. If it is correct. display the message "Very Good" and ask another multiplication question. If the answer is wrong, display "No please try again" and lets the student try the same question repeatedly until the students get it right. A seperate method should be used to generate each new question . This method should be called once when the application begins execution and each time the user the question correctly.

21st Oct 2018, 12:55 PM
Goodboy08
Goodboy08 - avatar
1 Antwort
+ 6
Please show your attempt😉
21st Oct 2018, 1:36 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar