) 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
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
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