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
Answers: 1
Computers and Technology, 23.06.2019 05:20, jaylenmiller437
Which operating system is a version of linux?
Answers: 1
Computers and Technology, 23.06.2019 16:00, cravens511peeelg
An english teacher would like to divide 8 boys and 10 girls into groups, each with the same combination of boys and girls and nobody left out. what is the greatest number of groups that can be formed?
Answers: 2
PLEASE HELP! I will award any one who provides me with the correct code that produces no errors with...
Computers and Technology, 30.01.2020 05:49
Mathematics, 30.01.2020 05:49
Spanish, 30.01.2020 05:49
Physics, 30.01.2020 05:49
Physics, 30.01.2020 05:49