Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Develop aC++ program that teaches elementary school students multiplication.Use

ID: 3618241 • Letter: D

Question

Develop aC++ program that teaches elementary school students multiplication.Use rand to produce two positive one-digit integers. Itshould then type a question such as:

           How much is 6 times 7?

Thestudent then types the answer. Your program checks the answer; ifit is correct, the correctMessage function is called; if it isincorrect, the incorrectMessage function is called. Your programwill count the number of correct and incorrect answers. After 10answers (any/all answers count), the program will calculate thepercentage of correct responses. If the percentage is lower than75%, your program will call the needHelp function, then terminate.Otherwise, the program continues until the student enters thesentinel value (-1) to end the program.


mustoutput like this


Explanation / Answer

please rate - thanks #include using namespace std; void correctMessage(int&); void incorrectMessage(int&); void needHelp(); int main() {srand(time(0)); int i,correct,incorrect,again,n1,n2,ans; double percent; do{    correct=0;    incorrect=0;    for(i=0;i