Question: 1. Write a program that converts inches to yards, feet or metres, based on the user's choice: Enter the number of inches to convert.

1. Write a program that converts inches to yards, feet or metres,

1. Write a program that converts inches to yards, feet or metres, based on the user's choice: Enter the number of inches to convert. . Enter the conversion type: yards, feet or metres. The user's choice must be entered as a letter. Use if statements to determine what the inches are converted into: If yards are chosen: The yards are inches * 0.027778 Show how many yards there are, with one decimal place. If feet are chosen: The feet are inches * 0.08333 Show how many feet there are, with one decimal place. If metres are chosen: The metres are inches * 0.0254 Show how many metres there are, with one decimal place. If the choice is invalid: State an appropriate error message. Activate Wind Go to Settings to a

Step by Step Solution

3.43 Rating (150 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

include stdio h int main float inches result char ch... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (2 attachments)

PDF file Icon

663da67059ec4_963980.pdf

180 KBs PDF File

Word file Icon

663da67059ec4_963980.docx

120 KBs Word File

Students Have Also Explored These Related Programming Questions!