Question: c++ 1) Write a program to play a subtraction game. The game should run as many times as the user desires (ask the user how

c++
 c++ 1) Write a program to play a subtraction game. The

1) Write a program to play a subtraction game. The game should run as many times as the user desires (ask the user how many games to play at the beginning of the program). Each time the game runs, the user should be presented with a random subtraction problem, using positive integers. The computer should keep track of how many answers the user answered correctly and output that number at the end of the program. 2). Write a program to output a countdown from a number the user enters to 0. The countdown should take one second per number: So, it should print a number, wait a second, print the next number, wait a second, etc., until it gets to zero. HINT: Use "windows.h" and the Sleep(milliseconds) function. Activate Wir Go to Settings

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!