Write a C program to calculate profit or loss switch statement

Write a C++ program to calculate profit or loss by using the switch statement.

C++ Source Code to calculate profit or loss – switch statement

Output

Enter Your Purchasing Price : 400

Enter Your Selling Price : 200

You got loss and Your Loss is: -200

Flowchart of the profit or loss program by using the switch statement

Flowchart of the profit or loss program by using the switch statement

SFT (Shamil’s Flow Table )

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

Explanation of the profit loss program by using the switch statement

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

Buy advertisement space on T4Tutorials

For more details email [email protected]