Math, asked by shalini713, 9 hours ago

the algorithm to accept the cost price and selling price of any item then print theprofit and profit percentage

Answers

Answered by roysen1992
0

Step-by-step explanation:

The algorithm to above question is :

Start

1.Read CP from user

2. Read SP from User

3 . Check if SP is greater than CP then calculate PROFIT = SP - CP

4 Calculate PROFIT/CP × 100

5. Print Profit

6.Print Profit %

7. End

Similar questions