0

FIND OUT BILL OF A CUSTOMER IF THE BILL IS GREATER THAN 500THAN A DISOUNT OF 10 % MUST BE GIVEN TO CUSTOMER

16th Apr 2021, 4:33 PM
Deepika Rawat
Deepika Rawat - avatar
2 Answers
0
float calBill(float bill) { If(bill > 500) bill -= bill * 0.1; return bill; }
16th Apr 2021, 4:40 PM
DevPS
DevPS - avatar