a) Rewrite the following program segment using Ternary operators
if (sales >= 100000)
double discount = sales * 0.25;
else
double discount = sales * 0.1;
Answers
Answered by
1
Answer:
bhai firstly question batao in good manner
Explanation:
in calculator do discount on 100000 and on that answer discount of 1% your answer will come
Similar questions