Question: I can't find whats wrong with the code #include #include 1 2 3 4 5 6 7 double degreeInput(); double heightMax(); double timeMaxHeight(); double inputHeight();

I can't find whats wrong with the codeI can't find whats wrong with the code #include #include 1 2

#include #include 1 2 3 4 5 6 7 double degreeInput(); double heightMax(); double timeMaxHeight(); double inputHeight(); double velocityInput(); void output(); int main() double degree; double velocity; double height; double timeMax; inputHeight(); velocityInput(); degreeInput(); degree = degreeInput(); velocity = velocityInput(); height = inputHeight(); timeMaxHeight(); timeMax = timeMaxHeight(); printf(" %.1f", timeMax); return 0; } double degreeInput(). 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 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 70 71 72 73 double degree = 30; //printf(" Enter angle to the horizontal [Degrees]: "); //scanf("%.1f", &degree) return degree; } double velocityInput() double velocity =74.5; //printf(" Enter initial velocity [m/s]: "); //scanf("%.1f", &velocity); return velocity; } double inputHeight() { double height =100; //printf(" Enter height of launch [m] : "); //scanf("%.1f", &height); return height; } double timeMaxHeight (double velocity, double degree) { double timeMax; timeMax = (velocity * sin(degree * (M_PI/180)))/ 9.8; return (timeMax); } 0.0[Finished in 0.5s)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!