foodalexandre4418 foodalexandre4418
  • 04-03-2020
  • Mathematics
contestada

Define a function called isSenior that takes a parameter containing an integer value and returns True if the parameter is greater than or equal to 65, and False otherwise.

Respuesta :

Аноним Аноним
  • 04-03-2020

Answer:

So if the parameter 's value  is 7 or 803 or 141 the function returns true . But if the parameter 's value  is -22 or -57, or 0, the function returns false .

My Code:

bool is Positive ( int x ) {  

if ( x > 0 )  

{  

 return true;  

}  

else {  

 return false ;  

}  

}

Answer Link

Otras preguntas

u4gent help needed help me with the question of o.math​
a golf course is trying to determine par for a particular hole. calculate the value they should put on the sign where people tee off so they know what par is fo
Why is Pokhara called the Cherapunji of Nepal?​
Please help for brainliest!!​
choose isomer of hexanoic acid? A) - penthylformiateB) _ izopropyleacetate C) _ methylpropanoate D) _ a- Methylbutanoic acid​
What is the freezing point in °C) of a 0.743 m aqueous solution of KCI? Enter your rounded answer with 3 decimal places. K; for water = 1.86 °C/m
Please help it is urgent .​
how does the natural resources affect the development process​
there is a label__(in ,at,on) the inkpot.​
choose isomer of hexanoic acid? A) - penthylformiateB) _ izopropyleacetate C) _ methylpropanoate D) _ a- Methylbutanoic acid​