kamaumuchiri99 kamaumuchiri99
  • 23-11-2022
  • Computers and Technology
contestada

Please how should I use command line argument to find if year is a leap year or not in the following given piece of code?
bool isleapyear(int inyear)
{
if (inyear % 4 != 0){
return false;
}
else if (inyear % 100 != 0){
return true;
}
else if (inyear % 400 != 0){
return false;
}
else {
return true;
}

}

Respuesta :

Otras preguntas

Which disease may be caused by an unhealthy lifestyle?
PLEASE HELP !!!!!!!!!
171, 32, 79, 37, 41, 63, 13Median:Mode:Range:​
the magnet below is cut in half. what will be the result?
Apply the distributive property to simplify the expression. -4(2x- 3) PLEASE HELP THANK YOU............
Can someone answer this?
A worm is decomposing plant matter and putting it into the soil. What type of nutrient consumption does that worm exhibit
Casey has $120 in a saving account that earns 10% simple interest per year. The interest is not compounded. How much money will she have in 1 year? plz show wor
One effect of washing regularly with antibacterial agents is the removal of normal microbiota. this can result in a. body odor. b. fewer diseases. c. increased
How many slides would be in a PowerPoint presentation based on the formatting of the Word outline? two three eight eleven