Each of the following functions has errors. Locate as many errors as you can.
A) void total(int value1, value2, value3)
{
return value1 + value2 + value3;
}
B) double average(int value1, int value2, int value3)
double average;
average = value1 + value2 + value3 / 3;
C) void area(int length = 30, int width)
return length * width;
D) void getValue(int value&)
cout <>
cin >> value&
E) // Overloaded functions
int getValue()
int inputValue;
cin >> inputValue;
return inputValue;
double getValue()
double inputValue;
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here