Write a program in c that has three float variable (place random values in them) and that will call the functions below using these variables as arguments. Create a function named pizza that takes three float arguments and returns the lowest value of them. Call the function pizza on the three variables and output the function return to the screen. Create a function named burger that takes three float arguments and returns the highest value of them. Call the function pizza on the three variables and output the function return to the screen. Create a function named hotdog that takes three float arguments and returns the middle value of them. Call the function pizza on the three variables and output the function return to the screen.
Write a
functions below using these variables as arguments.
Create a function named pizza that takes three float arguments and returns the lowest value of them.
Call the function pizza on the three variables and output the function return to the screen.
Create a function named burger that takes three float arguments and returns the highest value of them.
Call the function pizza on the three variables and output the function return to the screen.
Create a function named hotdog that takes three float arguments and returns the middle value of them.
Call the function pizza on the three variables and output the function return to the screen.
Step by step
Solved in 4 steps with 2 images