Hindi, asked by anuragele1979, 9 months ago

rewrite the following using ternary operator
if (income<=10000)
tax=0;
else
tax=12​

Answers

Answered by swagat18
11

Answer:

tax=(income<=10000? 0:12)

Explanation:

i hope this helps... try compiling it

Similar questions