[Solved] : Question 128806

This set of problems involves conversions of a value in one unit to another unit. Each conversion option should prompt the user for a value in the specified units and then print the converted value, along with the units.
Option1: convert miles to kilometers. (Recall that 1 mi= 1.6093440 km)

Option 2: convert pounds to kilograms. (Recall that 1kg = 2.205 lb)

Option 3: converts degrees Fahrenheit (Tf) to degrees Rankin(Tr). ( Recall Tf = Tr – 459.67 deg R)

Use SWITCH statement so that it will simply select from those given conversions:

(1) Conversions from miles to km

(2) Conversions from pounds to kg

(3) Conversions from deg. F to deg. R

Expert Answer

Answer to : Question 128806

Leave a Comment


We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us

× How can I help you?