subject
Computers and Technology, 31.01.2022 22:40 kbracey

PLEASE HELP! I will award any one who provides me with the correct code that produces no errors with brainliest! For this assignment, you will create a calendar program that allows the user
to enter a day, month, and year in three separate variables as shown below.
Day:
Month:
Year:
Then, your program should ask the user to select from a menu of choices
using this formatting
Menu:
1) Calculate the number of days in the given month.
2) calculate the number of days left in the given year.

Your program must include the three following functions:
leap_year
number_of_days
days_left

Parameters:
leap_year(y)
number_of_days(m, y)
days_left(d, m, y)

Sample Output 1:

Please enter a date
Menu:
1) Calculate the number of days in the given month.
2) Calculate the number of days left in the given year.
31

Sample Run 2:

Please enter a date
Day: 21
Month: 6
Year: 2016
Menu:
1) Calculate the number of days in the given month.
2) Calculate the number of days left in the given year.
2
193

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 15:00
Jake really works well with numbers and is skilled with computers but doesn't work well with others. which of the jobs discussed in this unit might be best for jake? why?
Answers: 3
question
Computers and Technology, 23.06.2019 21:20
In microsoft word, when you highlight existing text you want to replace, you're in              a.  advanced mode.    b.  automatic mode.    c.  basic mode.    d.  typeover mode
Answers: 1
question
Computers and Technology, 24.06.2019 06:30
For which utilities, if any, does the landlord pay?
Answers: 2
question
Computers and Technology, 24.06.2019 11:30
Convert 11001110(acdd notation) into decimal
Answers: 2
You know the right answer?
PLEASE HELP! I will award any one who provides me with the correct code that produces no errors with...
Questions
question
Mathematics, 04.12.2021 04:40
question
Mathematics, 04.12.2021 04:40
Questions on the website: 13722362