float time, distance, speed;
printf("Enter Your distance ");
scanf("%f", &distance);
printf("Enter Your speed ");
scanf("%f", &speed);
time=distance/speed;
printf("time is %f",time);
Thank you boss hehePHP:float time, distance, speed; printf("Enter Your distance "); scanf("%f", &distance); printf("Enter Your speed "); scanf("%f", &speed); time=distance/speed; printf("time is %f",time);