Question: Please make it really simple. Will give good ratings. Conversion Program Exercise Instructions: Write a C++ program that will input from the console screen: 1.
Please make it really simple. Will give good ratings.

Conversion Program Exercise Instructions: Write a C++ program that will input from the console screen: 1. A whole number 2. A unit of measurement from the following set: TB, GB, MB, KB, B The program will output the equivalent number of bits. Allow users to continue to input until they indicate that they want to stop Sample Run: Input a whole number followed by a unit of neasurenent (TB, GB. MB, KB. B) xample: 1 KB kb Input a valid whole number and unit of measurement Input a whole number followed by a unit of neasurenent (TB, GB, MB, KB, B) xample: 1 KB KB 16384 b o wish to do another conversion? Type Y or y to continue Input a whole number followed by a unit of neasurenent (TB, GB, MB, KB, B] xample: 1 KB 796093822208 b o wish to do another conuersion? Type or y to continue ress any key to continue Notes: 1. 2. A blank space will separate the whole number from the unit of measurement. If the user does a. not input an appropriate unit of measurem ent: Output an error message Allow the user to re-input b. For this exercise assume that the base is 1024 (not 1000). Kilobyte Reference: 3. n.wiki
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
