Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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.
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 1-100 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
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