Write a class named coin the coin class should have the following member variable

Print it