Write a C++ program to calculate profit or loss by using if else

Write a C++ program to calculate profit or loss by using the if-else statement.

Flowchart of Program to calculate profit or loss by using the if-else statement

Flowchart of Program to calculate profit or loss by using the if-else statement

C++ Source Code to calculate profit or loss by using the if-else statement

Output

enter cost price:

400

enter selling price:

200

loss of 200

SFT (Shamil’s Flow Table )

Are you interested to Read about SFT(Shamil’s Flow Table)?

Explanation of Program to calculate profit or loss by using the if-else statement

Latest posts by Prof. Fazal Rehman Shamil (see all)

Buy advertisement space on T4Tutorials

For more details email [email protected]