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

By Prof. Fazal Rehman Shamil
Last modified on December 24th, 2019

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

Prof.Fazal Rehman Shamil (Available for Professional Discussions)
1. Message on Facebook page for discussions,
2. Video lectures on Youtube
3. Email is only for Advertisement/business enquiries.