subject
Computers and Technology, 18.10.2019 04:30 pcartei

Write a program that inputs an integer denoting a month (1 for january, 2 for february, , 12 for december), and outputs how many days are in that month. assume no leap years. for example, if the input is 2, the output is 28. if the input is 11, the output is 30.[ there are a variety of ways to do approach is to use 12 separate if-then statements. another approach uses just 3 if-then statements and the logical or operator (which is ||). ]

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:40
In this lab, you complete a python program that calculates an employee's annual bonus. input is an employee's first name, last name, salary, and numeric performance rating. if the rating is 1, 2, or 3, the bonus rate used is .25, .15, or .1 respectively. if the rating is 4 or higher, the rate is 0. the employee bonus is calculated by multiplying the bonus rate by the annual salary.
Answers: 1
question
Computers and Technology, 23.06.2019 05:20
What did creator markus “notch" persson initially call his game
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
Visualizing a game of “tag” to remember the meaning of contagious
Answers: 3
question
Computers and Technology, 24.06.2019 13:00
George heard about the benefits of a data warehouse. he wants to try implementing one for his organization. however, he is afraid that transferring data to the data warehouse will affect transaction time. which element ensures that transactions are not affected when moving data to a warehouse? when data is transferred to a data warehouse, the a area frees the source system to continue transaction processing.
Answers: 2
You know the right answer?
Write a program that inputs an integer denoting a month (1 for january, 2 for february, , 12 for de...
Questions
question
Social Studies, 05.01.2020 19:31
question
Mathematics, 05.01.2020 19:31
question
Mathematics, 05.01.2020 19:31
question
Mathematics, 05.01.2020 19:31
question
French, 05.01.2020 19:31