Rewrite the following using if statement.
d=(p>5000)?p*5/100:p*2/100;
Answers
Answered by
0
Answer:
if (p>5000)
{
d=p*5/100;
}
else
{
d=p*2/100;
}
Similar questions