Design a program that will ask a user to input different types of Canadian coins to make up exactly two dollars. The user can choose to input any Canadian coin followed by the number of the coin value. For example, a user can choose to input a one-dollar coin followed by the how many to use for the calculation. The program should calculate the total value input and display to the user if he/she was correct.
Required steps:
1. The program has to be designed with a flowchart, using the conventional symbols discussed in class. The logic in the flowchart and the pseudo-code has to match precisely.
2. All code has to be written in pseudo-code in a text editor of your choice. Use the pseudo-code conventions discussed in class (I.e. proper declarations, data-types etc.).
3. All code has to be fully commented using the conventions discussed in class. Comments have to be descriptive and comprehensive to fully explain your thought process.
4. Ensure input validation is enforced.
5. Has to include modules and decision structures.