I need help writing a program in C++. I need it to say there are 2 quarters, 3 dimes, and 1 nickel, then the program should output that the coins are worth $.85.
I believe he is writing the classic homework question of making a Cash Register Program. Where the user has to enter a amount of change he has (IE $0.81) and then the program will tell the register attendant how many quarters, dimes, nickels and pennies to give the customer.
I am sure a simple Google search can turn up thousands of other threads on this topic which can help with any problem you run into. Also if you do want specific help I would recommend moving this question to the beginners sections of this forum.