Write only the function header not the body for the followin
Write only the function header (not the body) for the following problems:
1-A function named calcSphere which takes a radius as pass by value input. It also takes volume and surface area as a pass by reference. The return type is void.
2-A function named lowerToZero which takes an integer number as a pass by reference input. The function returns false if the number can no longer be lowered to zero (i.e it has reached zero) and true otherwise.
3-A function named readFile which takes a string with the filename as a pass by value, and an array of integers as a pass by reference for parameters. The function shall return true if it succeeded in reading the file, or false otherwise.
Solution
void calcSphere(double radius, double &volume, double &area);
bool lowerToZero(int &number);
bool readFile(string fileName, int *&arr);
