Computer Science, asked by shahanabanu1999, 7 hours ago

Rewrite the following using if statement.

d=(p>5000)?p*5/100:p*2/100;​

Answers

Answered by anishkumar606
0

Answer:

if (p>5000)

{

d=p*5/100;

}

else

{

d=p*2/100;

}

Similar questions