T-4(3-1) - distance(vi,a,t); getch(); } void distance...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
s #include<stdio.h> #include<conio.h> void distance(float,float,float); v void main(void) { float vi,t,a; clrscr(); "); scanf("%f%f%f",&vi,&a,&t);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: distance(vi,a,t); getch(); } void distance (float vi,float a,float t) { float s; s=vi*t+1.0/2*a*t*t; printf(&quot;distance=%f&quot;,s); }...
View Full Document

Ask a homework question - tutors are online