Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main() {
- int mile=0;
- int total=0;
- int yard=0;
- int centi=0;
- int foot=0;
- int inch=0;
- printf("Please Enter Your Mile:");
- scanf("%d",&mile);
- total=1609.34*mile;
- yard=1760*mile;
- centi=160934*mile;
- foot=5280*mile;
- inch=63360*mile;
- printf("This is Your Metre:%d\n",total);
- printf("This is Your Yard:%d\n",yard);
- printf("This is Your Centimeter:%d\n",centi);
- printf("This is Your Foot:%d\n",foot);
- printf("This is Your Inch:%d",inch);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement