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.