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;
}

}

Relax

Respuesta :

Otras preguntas

How do I show my justness and sincerity as a government employee?
Systems of equations in two variables with applications -2x+7y=2 3x-5y=-14
44/24 as a mix number in lowerst turms or whole number
What is the exact area of a circle whose diameter is 14 cm? A. 14 straight pi cm2 B. 28 straight pi cm2 C. 49 straight pi cm2 D. 196 straight pi cm2
do you think the united states isolationism encouraged or discouraged future acts of aggression by dictators??
What were the four natural resources needed for British industrialization?
What is the volume of the prism? ____ cm3
Why shouldn't the word partly be divided by a hyphen? A. Do not divide a one-syllable word. B. Do not divide proper nouns or proper adjectives.
Please help: In which theater were many of Shakespeare's plays first performed? A. the Burbage B. the Globe C. the Planet D. the Theatre
Simply the square root of 63