I need to implement a C++ program that asks the user for four floating-point numbers. The program should then calculate the average using two different functions, one value returning and one void. The program should output the average of the four numbers. For this program I need to use float instead of int for the types of variables. Can anyone help me with this? Below is a proto-type code that I am able to use to do this program.
using namespace std;
void print(int,int,int); // <- this is the function prototype for print
std::cout<<"Inpute your numbers:"<<endl;