Computer Science, asked by shirisha1981, 11 months ago

Rewrite the following statements into ternary operator if(x<=2) y=2.5*x+3

Answers

Answered by avinashmurmu99311
2

\color{green}{Y=(x&lt;=2)?2.5*x+3;}

Hope It Helps You

Please mark me brainliest

For any doubts regarding java solutions programs/list of variables Whatsapp me on 7544883473 only(No call)

Similar questions