Question: please answer 1,2,3 in C++ language (like printf instead of cout) 1. (5 pts) Construct a while() loop, which counts the number of multiples of

please answer 1,2,3 in C++ language (like printf instead of cout)

please answer 1,2,3 in C++ language (like printf instead of cout) 1.

1. (5 pts) Construct a while() loop, which counts the number of multiples of 11 in the range 1 n. Where n is an integer entered by the user. You may assume that n is positive. Show all varlable declarations and the prompt for n, along with the appropriate loop. 2. (5 pts) Construct a for() loop, which counts the number of multiples of 11 in the range 1 n. Where n is an integer entered by the user. You may assume that n is positive. Show all variable declarations and the prompt for n, along with the appropriate loop. 3. (5 pts) Construct a do-while() loop, which continues to display the following menu: 1. Play game 2. Display score 3. Exit and prompt the user for an option, while the option entered by the user is not in the range 1-3, inclusive. Note: you are constructing an input validation loop. Show all variable declarations

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!