Question: I can't figure out whats wrong with this code #include #include 1 2 3 4 5 6 7 8 9 10 11 12 13 14


I can't figure out whats wrong with this code
#include #include 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 double degreeInput(); double timeMaxHeight(); double heightMax(); double timeGround(); double distance Total(); double inputHeight(); double velocityInput(); void output(); int main() { double degree; double velocity; double height; double timeMax; double timeGround; double maxHeight; double totalDistance; inputHeight(); velocityInput(); degreeInput(); degree = degree Input(); velocity = velocityInput(); height = inputHeight(); X timeMaxHeight(); timeMax = timeMaxHeight(velocity, degree); heightMax(); maxHeight = heightMax(timeMax, velocity, height, degree); timeGround(); error: called object type 'double' is not a function or function pointer ground = timeGround(velocity, height, degree); distanceTotal(); totalDistance = distanceTotal(timeGround, velocity, degree); output(timeGround, timeMax, maxHeight); return 0 } double degreeInput() { double degree; //printf("nEnter angle to the horizontal (Degrees]: "); //scanf("%.1f", °ree) return (degree); } 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 double velocityInput() { { double velocity; //printf(" Enter initial velocity [m/s]: "); //scanf("%.1f", &velocity); return (velocity); } double inputHeight () { double height; //printf(" Enter height of launch [m] : "); //scanf("%.1f", &height); return height; } yruunu - LIIICUT VUIUIVELULILY, Hey, ucy CCI, distanceTotal(); totalDistance = distanceTotal(timeGround, velocity, degree); output(timeGround, timeMax, maxHeight); return @ } double degreeInput() { double degree; //printf(" Enter angle to the horizontal (Degrees]: "); //scanf("%.1f", °ree) return (degree); } double velocityInput() { double velocity; //printf(" Enter initial velocity [m/s]: "); //scanf("%.11", &velocity); return (velocity); } double inputHeight() { double height; //printf(" Enter height of launch [m] : "); //scanf("%.1f", &height); return height; } double timeMax Height (double velocity, double degree) { double timeMax; timeMax = (velocity * sin(degree * (M_PI/180)))/ 9.8; return timeMax; } double heightMax(double timeMax, double velocity, double height, double degree) { double maxHeight; maxHeight = height + velocity * sin(degree * (M_PI/180)) * timeMax - 0.5 * 9.8 * powtimeMax, 2); return maxHeight; } double timeGround ( double velocity, double height, double degree) { double ground; ground = (velocity * sin(degree * M_PI/180) + sqrt(pow( (velocity * sin(degree * M_PI/180)), 2) + 2 * (9.8) * height))/9.8; return ground; } double distanceTotal(double ground, double velocity, double degree) { double totalDistance; totalDistance = velocity * cos(degree * M_PI/180) * ground; return totalDistance; } void output (double timeGround, double maxHeight, double timeMax) printf(" -=-=-=-=-=-=-=- -=-=-=-=-=- "); printf(" Time to max height: %.2f ", timeMax); printf(" Maximum height reached reached: %.2f ", maxHeight); printf(" Time to hit ground: %.2f ", timeGround); return