Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- float km,m;
- printf("Enter the number of m ==");
- scanf("%f",&m);
- printf("Enter the number of km==");
- scanf("%f",&km);
- m=km*1000;
- km=m/1000;
- printf("The kilometer is %f",km);
- printf("\nThe meter is %f",m);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement