subject

3.26 LAB: Leap Year A year 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: 1) The year must be divisible by 4 2) If the year is a century year (1700, 1800, etc.), the year must be evenly divisible by 400 Some 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 - leap year

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 24.06.2019 04:30, NEUROPHARMACOLOGICAL
The ieee 802.11: defines standards for wireless local area network (wlan) communication protocols. identifies various computers or devices connected to a network. verifies any resource attached to another computer on a network that is different from the computer to which the user is logged on. connects multiple local area networks (lans) and wide area networks (wans).
Answers: 2
image
Computers and Technology, 24.06.2019 07:30, Isabellawuzhere
Aproject involves many computing systems working together on disjointed task towards a single goal what form of computing would the project be using
Answers: 3
image
Computers and Technology, 25.06.2019 18:00, minie66
Bigmart supermarket has different ways of awarding discounts to its customers for each purchase they make. an 8 percent discount is given on the total value of the purchase. in addition, a standard loyalty discount is given if customers have a permanent customer id card. your program should indicate the amount payable by the customer after the discounts. identify the inputs that the program requires from these options: i. the discount percentage ii. the total value of the purchase iii. the loyalty-discount amount iv. the customer id card number v. the amount payable after discount
Answers: 2
image
Computers and Technology, 26.06.2019 05:00, Gabby1493
Which sentence shows networking communications? veronica’s presentation veronica works as an executive in a marketing company. today, she has to make a presentation to her advertising agency about market research findings for a new product. her manager will be assessing her presentation. veronica has spent the whole week working on the presentation, and she wants to make a good impression. she has used the latest software to develop her presentation. she thought the presentation came out well and that it should give the advertising agency the information it needs to make a new commercial. as she enters the conference room, she sets up her laptop and plugs in the usb drive that has the presentation on it. however, she notices that the files on the usb drive have become corrupt. if she hadn’t saved the presentation, she would have had to reschedule the meeting for next week. however, veronica has a backup of the presentation on her email account, which she accesses from the internet. she makes her presentation and shares research findings with the advertising agency.
Answers: 1
You know the right answer?
3.26 LAB: Leap Year A year in the modern Gregorian Calendar consists of 365 days. In reality, the ea...

Questions in other subjects:

Konu
Physics, 03.02.2020 18:04