Convert into ternary operator: if(sal>250000) tax=(sal*10)/100; else tax=0;
Answers
Answered by
1
tax =(sal>250000) ? (sal*10) /100:0
Similar questions