I am trying to create a tool which counts coins correctly, I want to design a code within this where the coin essentially says:
if the coin type is (and then whatever