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

Jennifer, age 45, is a girl scout leader. she states that she really enjoys giving to and guiding the next generation. according to erikson, jennifer has develo
Samurai and knights: were the similarities greater than the differences?
Why don't astronauts use a fountain pen or a ball point pen with liquid ink in a spacecraft
at what time in history did the caste system dominate the society of india
If two times the square of a number minus 5 times that number is 35, then what is the number?
which of these triangles is congruent and why?
The plural of belief is believes. True False WILL GIVE BRAINLIEST please help asap
What is the prefix in the medical term Microbiologist A. Micro B. Mi C. Lst D. Bio
Express 73 kilometers per hour in miles per hour
The term "Yazoo Lands" referred to Georgia's __________ lands following the Revolutionary War. A)southern B)British-owned C)western-most D)most populated