[foxtrot]> cc convert7.c
[foxtrot]> a.out
This program will convert inches into the Metric System.
Please enter an integer: 5
Choose unit to convert 5 inches into:
1. feet
2. yards
3.centimeters
4. meters
5. kilometers
Enter a number 1 - 5: 2
5 inches converts to 0.1 yards.
[foxtrot]> a.out
This program will convert inches into the Metric System.
Please enter an integer: 34
Choose unit to convert 34 inches into:
1. feet
2. yards
3.centimeters
4. meters
5. kilometers
Enter a number 1 - 5: 34
34 inches converts to 34 inches since a valid choice was not made.
[foxtrot]>