Convert into if-else:
int com-(sale>10000)? sale* 10/100: 0;
Answers
Answered by
2
int com;
if(sale>10000)
com = sale*10/100;
else
com = 0;
Similar questions