write a Java program to input cost price and selling price find the profit amount and profit percent or loss amount and loss percent depending apon the value(if else)
plz dont give the answer in scanner class
Answers
Answered by
3
Answer:
Input: CP = 1500, SP = 2000
Output: 500 Profit
Input: CP = 3125, SP = 1125
Output: 2000 Loss
Formula:
Profit = (Selling Price - Cost Price)
Loss = (Cost Price - Selling Price)
follow me❤
Similar questions