Write a C++ program to count the total number of notes in a given amount by using the switch statement

Write a C++ program to count the total number of notes in a given amount by using the switch statement.

Flowchart of the C++ program to count the total number of notes

Flowchart of the C++ program to count the total number of notes

C++ Source Code to count the total number of notes

Output

Please Enter Your total Amount to find the notes :

120

500 = 0

100 = 1

50 = 0

20 = 1

10 = 0

SFT (Shamil’s Flow Table )

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

logic of count the total number of notes

Add a Comment