the problem is that the program dosen't execute and there are no errors and warnings. ( look at this link and you will
know what i mean http://www.youtube.com/watch?v=lialD...ature=youtu.be ) please help me
know what i mean http://www.youtube.com/watch?v=lialD...ature=youtu.be ) please help me
Code:
#include<stdio.h>
#include<conio.h>
void main()
{
float s=0,t=0,d=0;
printf("please enter a distence in kliometers");
scanf("%f",d);
printf("now enter the time taken in hours to travle that distence entered before");
scanf("%f",t);
s = d/t;
printf("the speed is %f",s);
getch();
clrscr();
}
Comment