Answer:
#include <stdio.h> #define Gray 32.17 /* gravitational constant */ #include <math.h> /*cos definition*/ #define PI 3.14159265
int main(void) double Theta; /*input-angle(radians)of elevation*/ double Distance; /*input-distance (ft) to target */ double Velocity; /*input-projectile velocity (ft/sec)*/ double Time; /* output-time(sec) of flight*/ double Height; /*output-height at impact*/
printf("Enter Distance> "); scanf("%f", &Distance);
printf("Enter Radians> "); scanf("%f", &Theta);
printf("Enter Velocity> "); scanf("%f", &Velocity
Time = Distance / (Velocity * cos(Theta*PI/180.0) ) ;
Height = (Velocity *sin(Theta*PI/180.0)*Time) - Grav*(Time* Time) );
printf("The time of flight is %.3f seconds.\n", Time); printf("The height at impact is %.3f feets.\n", Height);
system("pause");
return (0);
c. An error that due to wrong input.
=> Bug
<em>Hope </em><em>it</em><em> is</em><em> helpful</em><em> to</em><em> you</em>
The appropriate response is colosseum. It is otherwise called Coliseum and Flavian Amphitheater is an oval amphitheater in the focal point of the city of Rome, Italy. Worked of cement and sand, it is the biggest amphitheater at any point assembled.
The name of the programming language is “Brainfugd”