Question: ** C not C++** Write a complete program that includes the following three tasks: Write a for loop to count and display integers starting at

** C not C++**

Write a complete program that includes the following three tasks: Write a for loop to count and display integers starting at 0 and counting by 5's up through 100 (one per line) Write a do-while loop to output the countdown to the new year. The countdown starts at 10 and goes down to 1 (one per line), followed by "Happy New Year!" and a newline. Ask the user to enter a positive number, using the prompt "Enter a positive number: ". Then print a newline. Using a while loop, print out the message "You're doing great today!" the user selected number of times (once per line).

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!