Rewrite the following using if – else instead of ternary operator.
String s;
s= (a+b+c==180) ? “Triangle possible” : “Triangle not possible”
Answers
Answered by
1
Answer:
String s;
if (a+b+c==180)
s= “Triangle possible”
else
s=“Triangle not possible”
Answered by
0
Answer:
........................,.............
Similar questions
English,
2 months ago
Hindi,
2 months ago
CBSE BOARD X,
2 months ago
English,
4 months ago
India Languages,
4 months ago
Economy,
10 months ago