Rewrite the following piece of code using conditional operator:
if(income>20000)
tax=5000;
else
tax=3000;
Answers
Answered by
1
Explanation:
if((income>20000)&&(income<30000))
tax=5000;
else
tax=3000;
Similar questions