Rewrite the following program segment using if-else statements instead of the
operator
(a) String grade = (marks>90)?"A": (mark>*80)? "B": "C",
(b) commission = (sale > 5000)? sale 10/100 : 0;
(c) net = (salary > 10000)? salary - (8.33/100)*salary : salary - (5/100)*salary
(d) s= (a+b <c | | b+c <= b 11 b+c <= a) ? "Triangle is not possible", "Triangle is
possible"
e) c = (x >= 'A' && x<= 'Z') ? "Upper Case Letter" : "Lower Case Letter",
Answers
Answered by
0
Answer:
ajsjejje and walls of the same and walls and any files or need any further information please you dance and consideration the dimensions are not filtered and walls and any attachments may include this in Hindi language along the same
Explanation:
sjjs and walls are not the dimensions are the same and consideration the climate and consideration
Similar questions
Physics,
2 months ago
Math,
2 months ago
Social Sciences,
2 months ago
Computer Science,
5 months ago
Biology,
5 months ago
History,
10 months ago
Chinese,
10 months ago