Profit or Loss
ID:6565
Solved By 3861 Users
The program must accept two positive integers which denote cost price and selling price
of an item. The program must print the loss (if the cost price is greater than the selling
price) or profit amount.
Example Input/Output 1:
Input:
1000 1500
Output:
Profit=500
Example Input/Output 2:
Input:
2500 1800
Output:
Loss=700
can anyone say the proper c code for this???
Answers
Answered by
0
Answer:
tough................... yaar
Similar questions