Computer Science, asked by mouryakrishnegowda, 5 months ago

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

Answers

Answered by BrainlyProgrammer
2

Answer:

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

Similar questions