0
Measure Total Expenses
While purchasing an item, discount of 10% is offered if the purchasing amount is more than 1000. If quantity and price per item are input through keyboard, write a program to calculate total expenses in c program
1 Antwort
+ 1
return (n > 1000) ? n * 0.9 : n;