Computer Science, asked by mouryakrishnegowda, 7 months ago

rear te using ternary operator
if (income,<100000)
tax=0
else
tax=(0.1*income);3213​

Answers

Answered by dattarajshinde44
0

Answer:

a = income<100000 ? tax = 0 : tax = 0.1*income;

Answered by anindyaadhikari13
2

Answer:-

Using ternary operator,we can write like this,

tax=(income<100000)?0:(0.1*income);

Similar questions