- Home
- Output Questions for Class 10 ICSE Computer Applications
Rewrite the following program segment using if-else
Output Questions for Class 10 ICSE Computer Applications
Rewrite the following program segment using if-else statements instead of the ternary operator:
String grade = (marks>=90)?"A": (marks>=80)? "B": "C";