Computer Science, asked by khiladi295, 11 months ago

HEY GUYS
JAVA
TAKE OUT THE ...OUTPUT... by showing full process
AND GET MAEKD AS ....BRAINLIST......

Attachments:

Answers

Answered by tjjw13
1
1.) i) if a=5 and input is 7 then OUTPUT will be Not Five.
ii) if a=5 and input is 5 then OUTPUT will be FIVE.
2.) i) if 2000%100 remainder will be 0 and if 2000%400 remainder will be 0 then OUTPUT will be Leap Year.
ii) if 1900%100 remainder will be 0 and if 1900%400 remainder will not be 0 then OUPUT will be a Century Year but not a Leap Year.
iii) if 2014%100 remainder will not be 0 and if 2014%4 remainder will not be 0 then OUPUT will be Not a century year.
Answered by Anonymous
4

\small{\fcolorbox{red}{indigo}{\small{\fcolorbox{red}{violet}{\small{\fcolorbox{red}{pink} {\small{\fcolorbox{red}{red}{\small{\fcolorbox{red}{springgreen}{\small{\fcolorbox{red}{blue}{\small{\fcolorbox{red}{yellow} {\small{\fcolorbox{red}{azure} {\small{\fcolorbox{red}{blue}{\small{\fcolorbox{red}{orange}{\huge{\fcolorbox{red}{green}{\large{\fcolorbox{blue}{red}{{\fcolorbox{orange}{aqua}{ANSWER}}}}}}}}}}}}}}}}}}}}}}}}}}

1.) i) if a=5 and input is 7 then OUTPUT will be Not Five.

ii) if a=5 and input is 5 then OUTPUT will be FIVE.

2.) i) if 2000%100 remainder will be 0 and if 2000%400 remainder will be 0 then OUTPUT will be Leap Year.

ii) if 1900%100 remainder will be 0 and if 1900%400 remainder will not be 0 then OUPUT will be a Century Year but not a Leap Year.

iii) if 2014%100 remainder will not be 0 and if 2014%4 remainder will not be 0 then OUPUT will be Not a century year.

Similar questions