Rewrite the following using if-else; g = (p>5000) ? p*5/100 : 2*p/100;
Answers
Answered by
0
Explanation:
if(p>5000) d = p*5/100; else d = 2*p/100;
Similar questions
Hindi,
5 days ago
Math,
10 days ago
Environmental Sciences,
10 days ago
Political Science,
9 months ago
Math,
9 months ago