Question: Java programming question 8. Rewrite the following line of code as an if-else statement: score = (x > 10) ? 3 * scale : 4
Java programming question

8. Rewrite the following line of code as an if-else statement: score = (x > 10) ? 3 * scale : 4 * scale
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
