How do I make my code not display part of an output?

I am working on a program involving money and the optimal amount of change. I need to write the program so that if one of the coins is equal to zero, it does not display it. How would I write my code so that parts of it won't display if the value of one of the bills/coins is zero?
I'm sure seeing the code would be a huge help.
@masterofbob69

1
2
3
if ( type_of_coin_OR_bill > 0)
  cout << "The  type_of_coin_OR_bill = " <<  type_of_coin_OR_bill << endl;
// Do this for each of the types  


Of course, ' type_of_coin_OR_bill' is the type of coin you're wanting to show - penny, nickel, dime etc., or bill, $1, $5 etc.
@whitenite1

Thank you so much! Even though you didn't see my code, you still helped!
Topic archived. No new replies allowed.