Your instructor will assign you one of the problems below. To solve your problem, write a program that reads the necessary information to compute and output the indicated values, as efficiently as possible. Following the pattern in the lab exercise, first, design using OCD; then code your design in C++ using stepwise translation; finally, test your program thoroughly.
The projects for this lab ask for a relatively simple computation that is not given to you. You should be able to find the computation in your textbook, from your own knowledge, or with a simple search of the Internet. Be sure to indicate in your program where you got the information.
Project #2.1: Write a program that reads a number of feet, a real (i.e.,
double) value, and prints the equivalent number of inches.
Project #2.2: Write a program the reads in a Fahrenheit temperature and prints the equivalent temperature in Kelvin.
Project #2.3: Write a program that reads in a number of days (as a
double) and prints the equivalent number of hours.
Project #2.4: Write a program that reads in an age as a
doubleand prints the equivalent number of "dog years".
Turn the following things: