Question: C++ code...According to the option A, B, C and D(quit) .. edit the given code ... Program Assignment: Write a program with several functions and

C++ code...According to the option A, B, C and D(quit) .. edit the given code ...

C++ code...According to the option A, B, C and D(quit) .. edit

the given code ... Program Assignment: Write a program with several functions

Program Assignment: Write a program with several functions and types of loops. See Chapter 3 Program Guide setup found in content! Output: Your Name Main Menu A. Minimum B. Guess a Random number between 1 and 100 C. Temperatures D. Quit Enter Choice (A, B, C, D): 1. Option A: Write a function that accepts 2 numbers from the main and displays the lower of the 2 number in the minimum functions. This function just needs a simple if else structure. 2. Option B: The second function asks the user to guess a random number. The user is allowed 10 guesses. Must use a for loop. The top of the function needs: int guess, answer, x; unsigned seed =time(0); srand(seed); answer =(1+rand()%100); //answer will have a random number between 1100 3. Option C: The third function uses the while count controlled loop: user enter a given number of temperatures. You are to display several stats. See Temperature function Guide in content. See Guide below: Hot: Temperatures >=85 Pleasant: Temperatures 6084 Cold: Temperatures

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!