#include <iostream>
using namespace std;
int main()
{
float distance,time,speed;
printf("enter distance?\t");
scanf("%f",&distance);
printf("enter time?\t");
scanf("%f",&time);
speed=distance/time;
printf("speed is %f",speed);
return 0;
}
No comments:
Post a Comment
please wait...