Answered step by step
Verified Expert Solution
Question
1 Approved Answer
i need help with in PROGRAM C NOT!!! not C++ in VISUAL STUDIOS Lab 3: There are 2 Parts to this assignment: PART 1: Create
i need help with in PROGRAM C NOT!!! not C++
Lab 3: There are 2 Parts to this assignment: PART 1: Create a program that asks the user to enter a number from 1 to 20 Get the number from the user (For example if the user enters a 5, each loop below will repeat 5 times) Print the statement FAU Owls-Hoot Hoot" the number of times entered by the user using a while loop. Print the statement Programming is awesome" the same number of times using a do/while loop. Print the statement "Florida beaches are beautiful" the same number of times using a for loop. Note: You will be graded on whether or not you used the correct loop as described above, not just on output PART 2: Using a while loop: Ask the user to enter a number until the user enters a -1 to stop, as long as the number is not-1, add the number to an ongoing sum After the user enters a -1 print the sum onto the screen and then print the message "Have a Nice Day and end the program in VISUAL STUDIOS
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started