Rewrite the following using ternary operator f(income<=100000) tax =0; else tax = (0.1*income)
Answers
Answered by
56
Answer:
tax=(income<=100000)?0:0.1*income ;
I hope it will help you ❤
Answered by
9
Answer:
income<=100000? 0:0.1*income;
Similar questions