subject

Write a program that prompts the user to enter the year and the first three letters of a month name (with the first letter in uppercase) and displays the number of days in the month. Sample Run 1
Enter a year: 2001
Enter a month: Jan
Jan 2001 has 31 days
Sample Run 2
Enter a year: 2000
Enter a month: Feb
Feb 2000 has 29 days
Sample Run 3
Enter a month: 2001
Enter a month: jan
jan is not a correct month name In python.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:00
Need asap write a short paper describing the history and differences between six sigma, waterfall, agile, and scrum models. understanding these models can give you a good idea of how diverse and interesting it development projects can be. describe what the rationale for them is and describe their key features. describe the history behind their development. at least 400 words
Answers: 1
question
Computers and Technology, 24.06.2019 03:00
What is one potential problem associated with an organization purchasing new technology early in its lifecycle
Answers: 1
question
Computers and Technology, 24.06.2019 05:30
Cómo pongo un tomo de llamada sin pagar?
Answers: 1
question
Computers and Technology, 25.06.2019 05:10
Create a console project in c#. 1. create an interface "imyinterface.cs" - add a method "string imessage()" 2. create a class named "c1.cs" - add 4 private data members, create property for each data member double loanamnout=0.0; double years=0.0; double interests=0.0; double interestrate=0.0; 3. - add a constructor with parameters to assign values to loanamnout, years, interestrate with values that user entered. 4. - add one method “payinterests()” to return the interests interests = loanamnout * interestrate * years 5. - inheritate "imyinterface", implement the method " imessage()", return string "be ready! ” 6. in program.cs, have users to enter loanamnout, years, interestrate. - call method payinterests() to display total interests. - call imessage() to display "be ready! ”
Answers: 3
You know the right answer?
Write a program that prompts the user to enter the year and the first three letters of a month name...
Questions
question
Mathematics, 01.04.2021 19:50
question
English, 01.04.2021 19:50
question
English, 01.04.2021 19:50
question
English, 01.04.2021 19:50
question
Mathematics, 01.04.2021 19:50
question
Physics, 01.04.2021 19:50
Questions on the website: 13722367