subject

Ayear in the modern gregorian calendar consists of 365 days. in reality, the earth takes longer to rotate around the sun. to account for the difference in time, every 4 years, a leap year takes place. a leap year is when a year has 366 days: an extra day, february 29th. the requirements for a given year to be a leap year are: the year must be divisible by 4if the year is a century year (1700, 1800, the year must be evenly divisible by 400some example leap years are 1600, 1712, and 2016.write a program that takes in a year and determines whether that year is a leap year. ex: if the input is 1712, the output is: 1712 is a leap year. ex: if the input is 1913, the output is: 1913 is not a leap year.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:30
Write a function called isbalancedthat takes a string of braces as input and returns trueif the braces in the string are balanced. if there are more ‘{’than ‘}’or more ‘}’than ‘{’in the string, the function should return false. you should make use of the built-in java implementation of the stack data structureunder java.util.stack
Answers: 1
question
Computers and Technology, 22.06.2019 03:00
Uppose you were the manager of the local sports arena and wanted to apply your knowledge of sets to the crowds that attend the different events hosted there. typically, your arena hosts basketball, hockey, arena football, ice skating, and trade shows, such as boating and rv shows and hunting and fishing shows. because you are interested in analyzing your patrons attendance and because you have a knowledge of sets, you realize that you need to collect a little more information when selling tickets. because you are the big cheese there, you have the authority to dictate to the ticketing staff that they collect this information. of course, providing the information is voluntary for the patrons, but they understand that you have their interest at heart. you might start by collecting age, gender, distance from home to arena. use the set terminology you learn in this module to discuss the patrons at various events. for example, the people that attend basketball events would be a set. people that attend hockey games would be a set. discuss your patron attendance at these different events in terms of intersection, union, complement, element of, etc. if it seems , suggest other information you think would be useful to collect during ticket sales. you (as the students of csci 105) should collaborate as a group to formulate an interesting analysis.
Answers: 2
question
Computers and Technology, 23.06.2019 04:31
Jennifer has to set up a network in a factory with an environment that has a lot of electrical interference. which cable would she prefer to use? jennifer would prefer to use because its metal sheath reduces interference.
Answers: 1
question
Computers and Technology, 23.06.2019 08:00
Are there forces acting on the pen? if yes,draw the forces.you may arrows to represent these forces.
Answers: 2
You know the right answer?
Ayear in the modern gregorian calendar consists of 365 days. in reality, the earth takes longer to r...
Questions
question
Mathematics, 09.04.2020 19:29
question
Mathematics, 09.04.2020 19:30
question
Mathematics, 09.04.2020 19:30
question
English, 09.04.2020 19:30
Questions on the website: 11185554