Modify the program so that instead of asking for Fahrenheit, your program prompt
ID: 3903358 • Letter: M
Question
Modify the program so that instead of asking for Fahrenheit, your program prompts for inches. After receiving inches and converting to a Double, calculate the equivalent feet. Remember that the expression used to arrive at a feet value for inches will be different than that used in the example. Hint: Ask yourself how you would get a feet value from a given number of inches and apply the appropriate statement. After calculating feet, display both the feet and inches for the user. The answer can be in the format of 2.08 for feet given 25 inches or you can choose to use the format of 2 feet 1 inch for 25 inches. Either format is acceptable and is determined by how you decide to calculate the feet.
Explanation / Answer
I just modified the algorithm according problem statement...
If you need executable program, please give me comment... Thank you
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.