So im trying to write a program that prompts the user for a number (integer) of inches and then expresses that distance as a number of miles, yards, feet and inches. This is an example my professor gave me and I cant seem to figure it out.
Enter the number of inches: 100000
1 mile(s)
1017 yards(s)
2 foot/feet
4 inch(es)
1
Expert's answer
2019-10-02T05:15:35-0400
Dear Jonny, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment