In: Computer Science
C++
For a job, you need to schedule everything in life. There is personal life, hobbies and lots of other things, and work. You have to manage your time well. For your job, you have to work on projects early and probably every day. How much time would you need to spend to keep up with your work when you have other things in your life?
To solve this problem, write a C++ program to help you figure out how many hours a day you should work on the project to reach your goal of finishing a project by the on-time due date. This program should have two parts:
Display the results from both of these calculations.
Then, compare them to find out if you have enough time each day to meet your goals. The program needs to show messages to alert the user of what’s going on.
After showing the results, allow the user to compute a new set of values until they want to end the program.
Here is the answer for your question in C++ Programming Language.
Kindly upvote if you find the answer helpful.
#####################################################################
CODE :
#include<iostream> using namespace std; double validateInput(double value); int main(){ |
###############################################################
SCREENSHOTS :
Please see the screenshots of the code below for the indentations of the code.
#####################################################
OUTPUT :
Any doubts regarding this can be explained with pleasure :)