1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Anestetic [448]
3 years ago
14

Define a function called isSenior that takes a parameter containing an integer value and returns True if the parameter is greate

r than or equal to 65, and False otherwise.
Mathematics
1 answer:
Yuki888 [10]3 years ago
6 0

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 ;  

}  

}

You might be interested in
2. through: (8,5), perpendicular to y=-1/2x +4
SCORPION-xisa [38]
Perpendicular slope: flip sign and reciprocal = 2
Y = 2x + b
Plug in point (8,5)
5 = 2(8) + b
5 = 16 + b
b = -11
Equation: y= 2x - 11
7 0
3 years ago
Find the area of a parallelogram if a base and corresponding altitude have the indicated lengths. Base 1 1/2 feet, altitude 6 in
Butoxors [25]
Area of a parallelogram = A =base*height

so in this case is just (1½)(6).

first off let's convert the mixed fraction to "improper",

\bf \stackrel{mixed}{1\frac{1}{2}}\implies \cfrac{1\cdot 2+1}{2}\implies \stackrel{improper}{\cfrac{3}{2}}
\\\\\\
\cfrac{3}{2}\cdot 6\implies \cfrac{18}{2}\implies 9
3 0
4 years ago
Read 2 more answers
Which list shows all the factors of 54? A. 1, 2, 3, 6, 9, 12, 18, 27, 54 B. 1, 2, 3, 6, 9, 18, 27, 54 C. 1, 2, 3, 6, 9, 18, 54 D
sergey [27]

Answer:

C

Step-by-step explanation:

Bc I have Big Brain and Google is nice

6 0
3 years ago
Read 2 more answers
The height of a football is given by the function h of t equals negative16 t squared plus 56 t plus 3, where h of t is the heigh
kykrilka [37]

Answer:

27 feet.

Step-by-step explanation:

Graph the quadratic equation, then find the point on the graph which aligns with x=3. Y would equal 27.

8 0
2 years ago
-7-5x+5x+7 simplified​
AysviL [449]

Answer:

0

Step-by-step explanation:

adding -7 to 7, since they are both constants (no variable) gives you 0. Adding -5x and 5x since they both have an x term gives you 0x also written as 0 (0*any number is 0). this gives you a final answer of 0

4 0
3 years ago
Read 2 more answers
Other questions:
  • Find the lcm of each set of polynomials x^3-6x^2-16x,x^2-4
    12·1 answer
  • What fraction of the Hexagon is shaded?
    5·2 answers
  • Tommy and his dad rode their bikes at a speed of 12 m.h.p. For 2 hours. They rested in a park and rode at 8 m.p.h. For 2 more ho
    15·1 answer
  • The sum of two numbers is 33. One number is 17 less than the other. Find the numbers. the smaller number is ? The larger number
    6·2 answers
  • |2x|=3 find absolute value equation algebraically
    6·1 answer
  • tropical trip punch is made by mixing 4 liters of pineapple juice, 5 liters of orange juice, and 3 liters of ginger ale. what pe
    15·1 answer
  • The student measured the length of a room and obtained the measurement of 3.99m. If the percentage error of his measurement was
    10·1 answer
  • PLZ HELP MEH FOR A BUNCH O POINTS PLLLLLLZZZZZZZZZ I NEED NUMBER 2 BASED ON NUMBER 1!!!!!!
    15·2 answers
  • Find the volume of the figure. Round your answer to the nearest tenth if necessary. Use 3.14 for .
    10·1 answer
  • Please answer this! (from khan academy 6th grade math)
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!