Answered step by step
Verified Expert Solution
Question
1 Approved Answer
jus question 2 4 10 (20 points) Write a COMPLETE C++ program (including comments!) that asks the user to input the number of total hours
jus question 2
4 10 (20 points) Write a COMPLETE C++ program (including comments!) that asks the user to input the number of total hours it took for the computer to process the result of a complicated program. The program then prints the duration of the job in a nicer form; i.e. it prints out the number of total weeks, then (for the part left over) days and (for the part left) hours that the job took. For example, if the uer types in 362 for the hours, the output will be: 2 weeks (s) and 1 day(s) and 2 hours (s) (20 points) Change the following switch statement to an if. .else statement: switch (letter) case 'a: case 'z coutStep 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