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. Do not use rand function
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.
Do not use rand function
Step by step
Solved in 4 steps with 3 images