d) if amount is greater than or equal to 15000 then the discount
is 10% otherwise discount is 5%. Convert the statement into
ternary operator.
e) Int x = num<=20000 ?num - 500 : num + 200 ;
System.out.println(x);
Where num is 25000.
Answers
Answered by
0
tell me answer of question
Pakshi udne ke liya kya krte h
Similar questions