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

Multiply. −37xy(−35x3y2) Enter your answer in the box
What does the masquerade mentioned in line 9 represent in the poem
Lainey brought a set of 22 markers for $6. What is the cost of 1 marker? Round answers to the nearest hundredths where necessary.
which expression is equivalent to 2x +4
can you guys help me find the product rule of the question in the blue box?
Mixing salt with sugar is a chemical change true or false?
What are 2 things that legal immigrants can NOT do. 12pt v Paragraph B I U Αν Ev T² V 0 words
2. Carlos is installing new carpet in his house. He estimates that he can install 20 square feet of carpet every half hour. How many square feet of carpet can C
GIVING BRAINLIEST, FIVE STARS AND THANKS!! PLS AND TY!! 1. Is the product of 12 and 3/4 more or less than 12? Explain your answer in complete sentences. 2. Is t
what is the recipe for chocolate cookies?