-
Need Help
I know i ain't suppose to ask but any help will do.
This is the program
(1)
A program that examines the spending patterns of a user. It should ask the user for the amount spent in the last month on food, clothing, entertainment, and rent, and then display a table showing the percentage of expenditures for each category.
(2)
A program that calculates the number of hours of your life that you have spent sleeping. Assume that you sleep 8 hours each night. To simplify the problem, assume that three are always 30 days in each month, and 365 days in each year. The program output should look similar to:
Enter your birthdate(using numbers for months):
Month:9
Day:27
Year:1984
Enter today's date(using numbers for months):
Month:10
Day:26
Year:2002
You have been alive for 6599 days.
You have slept 59792 hours.
-
These are beginner exercises for C++ and i'm just a beginner. I've been working on these programs for hours and just don't know how to do them???:confused: :confused: :confused:
-
When i try executing them they give me so many error???:confused:
-
Post your code. We will then help with your error. WE WILL NOT WRITE THE PROGRAM FOR YOU- REMEMBER THIS!!!!!
Look at the board guidelines!!!!
These are straight forward problems- do you have your textbook to help. The answer may not be exactly in there-but there are examples in there that can help.
Think for yourself- please.:confused: