Computer Science, asked by Tanveer1847, 7 months ago

) Consider the evaluation of the following function.
Y= 2.5x + 3 for x<=2
5x +4 for x>2
Write its evaluation in java using an if statement and the ternary operator.​

Answers

Answered by ARJUNSWAJUN
0

Answer:

Consider the evaluation of the following function.

Y= 2.5x + 3 for x<=2

5x +4 for x>2

Write its evaluation in java using an if statement and the ternary operator.​

Explanation:

Answered by Anonymous
5

Explanation:

Solve the following: x – 2= 7

Answer:

Given, x -2 = 7

=> x – 2 + 2= 7 + 2 [Adding 2 both sides]

=> x = 9

not perfect answer

Similar questions