rear te using ternary operator
if (income,<100000)
tax=0
else
tax=(0.1*income);3213
Answers
Answered by
0
Answer:
a = income<100000 ? tax = 0 : tax = 0.1*income;
Answered by
2
Answer:-
Using ternary operator,we can write like this,
tax=(income<100000)?0:(0.1*income);
Similar questions
Social Sciences,
3 months ago
Science,
3 months ago
Computer Science,
3 months ago
Geography,
7 months ago
English,
7 months ago
Social Sciences,
11 months ago
Science,
11 months ago