Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1, 2 and 3 pleas this is my second time posting those quistions Finish as many of the programs listed here as possible during class.

1, 2 and 3 pleas
this is my second time posting those quistions
image text in transcribed
Finish as many of the programs listed here as possible during class. You should be able to complete at least 2 programs. 1. Write a program that reads an unspecified number of values from the user. The program will output how many positive numbers and how many negative numbers were entered. The input from the user should stop when the user enters zero. 2. 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. 3. 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 W NOTE: DO NOTuse arrays for any of these problems

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

Data Management Databases And Organizations

Authors: Richard T. Watson

2nd Edition

0471180742, 978-0471180746

More Books

Students also viewed these Databases questions

Question

10:16 AM Sun Jan 29 Answered: 1 week ago

Answered: 1 week ago