0
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
4/28/2018 2:51:54 PM
1 Answer
+1
return (n > 1000) ? n * 0.9 : n;
Send us a message