Write a program that gives simple math quizzes using python


Problem

Write a program that gives simple math quizzes using python. The program should display two random numbers that are to be added. The program should allow the student to enter the answer. If the answer is correct, a message of congratulations should be shown. If not correct, a message showing the correct answer should be displayed. You need to have a main() function and the function generateRandom() that is inside a while loop that generates two random numbers. Make sure to use the sentinel -999 to end the program.

Request for Solution File

Ask an Expert for Answer!!
Python Programming: Write a program that gives simple math quizzes using python
Reference No:- TGS03268361

Expected delivery within 24 Hours