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

Last modified on December 24th, 2019 Download This Tutorial in PDF

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

Subscribe for Friendship

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