Question: Each problem you will use either a do while, while, or for loop for the problems. You can only use each loop variant once ,

Each problem you will use either a do while, while, or for loop for the problems. You can only use each loop variant once, choose which problem you use each loop for wisely!

Time to burn calories

Create a C# console application (do not create a .NET CORE project) and name the project TimeToBurn. Running on a particular treadmill, you burn 3.9 calories per minute. Ask the user how many calories they wish to burn in this workout session (this is their goal). Once they tell you, output on the console after each minute, how many calories they have burned (e.g. After 1 minute, you have burned 3.9 calories). Keep outputting the total amount of calories they have burned until they have met their goal.

#2

Create a C# console application (do not create a .NET CORE project) and name the project #2 . Generate two random integers, each between 1 and 50, that you will be adding together to test the users ability to perform the addition operator. Display the numbers in the console, such as:

7 + 22 = ?

Once the user provides their answer, check to see if it is correct and if not, tell them sorry, please try again. If their answer is correct, congratulate them on getting the right answer.

Tuition Increase

Create a C# console application (do not create a .NET CORE project) and name the project TuitionIncrease. The college charges a full-time student $12,000 in tuition per semester. It has been announced that there will be a tuition increase by 5% each year for the next 7 years. Your application should display the projected semester tuition amount for the next 7 years in the console window in the following format:

The tuition after year 1 will be $12,600.

Note: The number is in the output and the format of the tuition amount is currency with 0 decimal places

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!