A program and pseudo code to accept a N number of A, then display all the possible denomination can be made if given the following rules:
1A=2B
2B=2C
1C=5D
ex. Input value of A:10
output is:
A B C D
10 0 0 0
9 2 0 0
8 4 0 0