Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Upload and submit a program you create for each of the following problem statements. Use the name in parentheses for the filename. ( You should
Upload and submit a program you create for each of the following problem statements. Use the name in parentheses for the filename. You should also save a copy for yourself for future reference. Using good program names is part of program documentation. It would be much easier to find a temperature conversion program from earlier in the course if it is named temperature.cpp than labcpp Use comment statements to add your name, date, and description of the program to the top of the program.
dayscpp Write a program that takes a number of days as input and outputs the number of equivalent hours. A run through of the program should look something like this: points your name is commented on the program
points the date is commented on the program
points correct use of cout and cin statements.
points correct output
galloncpp The program will accept an input value in US liquid gallons and output the equivalent values for US measurements in quarts, pints, and fluid ounces. Note there will be outputs. Use the formula quarts gallons Lookup the other formulas for assignment statements needed.
points text file submission uploaded with cpp file extension
points user friendly input prompt using cout and cin statements
points correct output using cout for quarts
points correct output using cout for pints
points correct output using cout for fluid ounces
points user friendly output using literal strings
temperaturecpp Write a program that converts a temperature input in degrees Celsius C into degrees Fahrenheit F using the formula:
F C
points user friendly input prompt for Celsius using cout and cin statement pair
points correct conversion of given formula to C
points correct output for Fahrenheit degrees
points user friendly output using literal stringsConvert days to hours
Enter the number of days:
days is the same as hours.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started