Computer Science, asked by CoolParam, 7 months ago

Rewrite the following using ternary operator :

if(bill > 10000)

disc = bill * 10.0/100;

else

disc = bill * 5.0/100;​

Answers

Answered by devibaby0470
0

Explanation:

Rewrite the Following Using Ternary Operator : If(Bill > 10000) Discount = Bill * 10.0/100; Else Discount = Bill * 5.0/100; Concept: Operators in Java.

Similar questions