1752."/> 1752."/> 1752."/> 1752."/>
Ask your own question, for FREE!
Mathematics 15 Online
OpenStudy (anonymous):

in terms of math, if i said "since the measure was adopted in england in 1752" (and y represents y), could i write y>1752.

OpenStudy (lgbasallote):

if y represents year then yes

OpenStudy (anonymous):

here is the orginal probem: Before 1752 there is a leap year for every four years according to the Julian calander. Namely if the year is divisible by 4, there are 29 days in Feburary. Since the Gregorian calander is adopted in England in 1752, the leap year rule has been changed as follows: If the year is divisible by 4, it is a leap year except if it is divisble by 100. If the year is divisble by 400, however, it is again a leap year. Write a program that, for input years, outputs true or false depeding on the year to be a leap year or not.

OpenStudy (anonymous):

so this problem has to be broken up into levels, the first being the year, and so on, now for the years, the first would be 1752>=y and the second would be 1752<y ??

OpenStudy (lgbasallote):

befor 1752 would be 1752 > y wouldn't it?

OpenStudy (lgbasallote):

since 1752 would be \(y \ge 1752\)

OpenStudy (lgbasallote):

because "since" includes 1752 itself

OpenStudy (anonymous):

from reading the problem myself, i also get that 1752>y, then for the second part we would have 1752<=y

OpenStudy (anonymous):

since the gregorian was adopted in 1752

OpenStudy (lgbasallote):

right

OpenStudy (anonymous):

okay, i guess. I just wanted to see what other thought, cause the answer makes it seem like its y<=1752

OpenStudy (lgbasallote):

the answer is y <= 1752???

OpenStudy (anonymous):

thats was it says, thats how it is broken down interms of the years.

OpenStudy (lgbasallote):

it should be y < 1752 then y \(\ge\) 1752.....

OpenStudy (anonymous):

but i would think that 1752 would be in included in the years for the gregorian calander requirments

OpenStudy (lgbasallote):

yes. should be

OpenStudy (anonymous):

its weird, i was thinking that i might bot be catching the correct meaing of the words or something.

OpenStudy (lgbasallote):

since means from 1752 onwards

OpenStudy (anonymous):

yeah, i changed it in my program to say y<1752

OpenStudy (anonymous):

and it still ran fine, so i guess wer're good

OpenStudy (lgbasallote):

computers are weird

OpenStudy (anonymous):

thanks guys

OpenStudy (anonymous):

yeah,they can be

OpenStudy (lgbasallote):

guySSSS?

OpenStudy (anonymous):

or singular

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!