Advertisement
Istanvir389

meter to KM

Jul 16th, 2017
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3. int main()
  4. {
  5.  
  6. float km,m;
  7. printf("Enter the number of m ==");
  8. scanf("%f",&m);
  9. km=m/1000;
  10. printf("The kilometer is %0.4f",km);
  11. return 0;
  12.  
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement