Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a menu-driven program that will help an elementary school student learn multiplication. Use rand to produce two positive one-digit integers for multiplication. The program

image text in transcribed
image text in transcribed
Write a menu-driven program that will help an elementary school student learn multiplication. Use rand to produce two positive one-digit integers for multiplication. The program may ask a question such as: How much is 6 times 8? The student then types the answer. Your program checks the student's answer and print the various comments: Responses to a correct answer: Excellent! Very good Keep up the good work! Responses to an incorrect answer: No. Please try again. Wrong. Try once more. Don't give up! Use the random number generator to choose a number 1 to 3 to select an appropriate response to each answer. Use a switch statement to issue the responses. The program should count the number of correct and incorrect responses typed by the stude After the student stops answering questions (use a while loop), your program should calculat and print the percentage of correct responses. The student is allowed to try each question u to 3 times to get the correct answer. Modify the program to allow the user pe of arithmetic problems he or she wishes to study. An option of A ems, S means subtraction problems, M means multiplication a) To pick the arithmeti means division problems. Use various functions for each part of the program. b) To ent er a grade-level capability. A grade level of 1 means to use only single-digit numbers in the proble digits. ms, a grade level of two means to use numbers as large as two

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions