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, 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
include stdio h int main float inches result char ch... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
663da67059ec4_963980.pdf
180 KBs PDF File
663da67059ec4_963980.docx
120 KBs Word File
