Question: In C++ Lab Activity #3-Loops Exercise #1: Create a program that will ask the user to enter an integer. Write a loop that subtracts one

In C++  In C++ Lab Activity #3-Loops Exercise #1: Create a program that

Lab Activity #3-Loops Exercise #1: Create a program that will ask the user to enter an integer. Write a loop that subtracts one from that user-inputted number, and keeps subtracting one until the number is down to zero. Here is a sample output: Enter a number: 55 It is now 54 It is now 53 It is now 52. (etc...)

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!