subject

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, 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 is a leap year. ex if the input is 1913, the output is 1913 is not a leap year lab activity acy3171 lab leap year 8/10 main. cpp load default template.. 1 rinclude clostream using mespace std int maino 6 bool isleapyeer false etype your code here 12 return run your program as often as youd like, before submitting for grading below tyn submit modenn n develop mode

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:30
Which of the following are types of formatting you can apply to a spreadsheet? choose all that apply.
Answers: 3
question
Computers and Technology, 21.06.2019 23:00
The animal classthis class represents a an animal residing at a zoo. it has a weight (in pounds),height (in inches), a name, and a color. the methods in the class include constructors,getters, and a tostring. you will finish the implementation of these methods. referto the code documentation.1.getters: you will need to implement getter methods. these get a value (froma member variable) in the animal class. you will make a getter method toreturn each variable (weight, height, name, color). reference getname if youare having issues.2.tostring: you will need to finish the tostring method. this returns a stringcontaining information about an animal. the output string should be of theformat: ” (name) , a ( color )â’colored animal . ( weight ) pounds , ( height ) inches .\n”the height and weight are formatted to 1 decimal place. recall from lab 1how to format strings neatly using string. see the reference sectionfor more about string.format.
Answers: 2
question
Computers and Technology, 22.06.2019 20:30
In this lab, you complete a prewritten c program that calculates an employee’s productivity bonus and prints the employee’s name and bonus. bonuses are calculated based on an employee’s productivity score as shown below. a productivity score is calculated by first dividing an employee’s transactions dollar value by the number of transactions and then dividing the result by the number of shifts worked.
Answers: 3
question
Computers and Technology, 23.06.2019 09:30
Write an essay on online collaboration, how to do it, the challenges, resolving the challenges, and consider whether the risks are greater than rewards. ( need )
Answers: 1
You know the right answer?
Leap year a year in the modern gregorian calendar consists of 365 days. in reality, the earth takes...
Questions
question
Mathematics, 01.06.2021 17:30
question
Mathematics, 01.06.2021 17:30
question
Mathematics, 01.06.2021 17:30
question
Mathematics, 01.06.2021 17:30
question
Mathematics, 01.06.2021 17:40
question
Mathematics, 01.06.2021 17:40
question
Spanish, 01.06.2021 17:40
Questions on the website: 13722362