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
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
Get step-by-step solutions from verified subject matter experts
