Feed Headline Animator

Program to compute the distance covered by a car in 50 seconds. The initial velocity is m/sec and acceleration is 5m/sec^2. Use formula s=vit+1/2 at^2

main( )
{
int t,vi,a;
double s;
t=50;
vi=10;
a=5;
s=vi*t+0.5*a*t*t;
clrscr ();
printf(“Distance Covered =%f m”,s);
}


Posted by: Wasim Javed

No comments:

Post a Comment