C Program To Calculate Profit or Loss
Satish B
http://technotip.com/7134/c-program-to-calculate-profit-or-loss/
If cost price and selling price of an item are input through the keyboard, write a C program to determine whether the seller has made profit or incurred loss. Also determine how much profit he made or loss he incurred.
Cost Price: is the price paid by the seller for the product or the manufacturing cost of the product.
Selling Price: is the price seller sold the product for.
Formula To Calculate Profit profit = (selling_price – cost_price);
Formula To Calculate Loss loss = (cost_price – selling_price);
C Programming Interview / Viva Q&A List http://technotip.com/6378/c-programming-interview-viva-qa-list/
C Programming: Beginner To Advance To Expert http://technotip.com/6086/c-programming-beginner-to-advance-to-expert/ ... https://www.youtube.com/watch?v=ZjMNJNxKXuE
6077021 Bytes