Computer Science, asked by indu15071985, 4 months ago

Rewrite the following piece of code using conditional operator:
if(income>20000)
tax=5000;
else
tax=3000;​

Answers

Answered by mrinmoychakraborty11
1

Explanation:

if((income>20000)&&(income<30000))

tax=5000;

else

tax=3000;

Similar questions