Computer Science, asked by rehan33, 1 year ago

rewrite the following using ternary operator
if(sales>100000)
incentives=20000;
else
incentives=10000

Answers

Answered by arghyo0098
14
incentives=(sales>100000)? 20000:10000;
--Hope this will help you
Answered by divyapazhethil
6

Answer: incentives =(sales>100000)?20000:10000;

Explanation:

Similar questions