Rewrite the following statement using ternary operator. [2]
if (basic>=5000)
netsal=basic-(8/100)*basic;
else
netsal=basic-(3/100)*basic;
Answers
Answered by
5
Similar questions