Question: You are going to write a very easy short program to calculate how many hours week you are dedicating to work and study. The guideline

You are going to write a very easy short program to calculate how many hours week you are dedicating to work and study. The guideline is that for every credit hour of courses you have, you should study for 3 hours. If you have a 3 credit hour course then you should study for 9 hours. Ask the user how many credit hours they have How many credit hours do you have? 12 Ask the user how many hours per night they plan to sleep How many credit hours do you have? 10 How many hours a night do you plan to sleep? 8 Ask the user how many hours they will work at a job How many credit hours dc you have? 10 How many hours a night dc you plan to sleep? 8 How many hours per week will you work? 30 How many hours a week should you study? 3* credit hours How many credit hours dc you have? 10 How many hours a night do you plan to sleep? 8 How many hours per will you work? 30 You should study 30 hours a week. How many total hours of class and study a week will you have?(Number of credit + hours of study) How many credit hours do you have? 10 How many hours a night do you plan to sleep? 8 How many hours will you work? 30 you should study 30 hours a week. you would have 40 hours or classes and study Total all the hours of study, classes, sleep, and work, (remember see would have to be by 7 How many credit hours do you have? 10 How many hours a night do you plan to sleep? 8 How many hours will you work? You should study 30 hours a week. You would have 40 hours of classes and study You are working, going to school and sleeping 126 hours/week. When testing, play with your values for your semester. Are you taking or too much
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
