Question: rite a program in C following below instructions: - Prompt the user to enter three float values and save these numbers as local variables. -
rite a program in C following below instructions: - Prompt the user to enter three float values and save these numbers as local variables. - After typing these numbers in, display these three values to the screen. - Write the four functions below: 1. Create a function that receives these three parameters, calculates the sum of these, and returns the result value to main to print this value out to the screen. You can print out something like this: "The result of a SUM function that receives three parameters and sends the result back to main is: ". 2. Create a function that receives these three parameters, calculates the multiplication of these values, doesn't return a value to main, and prints this value out to the screen. You can print out something like this: "The result value of a MULT function that receives three parameters and doesn't return a result to main is: ". 3. Create a function that does not receive any parameters (how can you see these three values if you cannot send these as parameters to the function?), calculates a subtraction of these three values, and returns this result value to main to print this value out to the screen. You can print out something like this: "The result of a SUBST function that does not receive any values from main but returns the result is: 4. Create a function that does not receive any parameters (once again, how can you see these three values if you cannot send these as parameters to the function?), calculates the highest value of the three, does not return a value, and prints this higher value out to the screen. You can print out something like this: "The highest number of the three using a function that doesn't receive parameters and doesn't return a result is
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
