Recent content by willie9142002
-
W
Comp Sci How can I fix my Java program to give accurate change?
jhicks even with higher amounts is does that same thing only if i need more than one penny. So if it is was 62 it would give me 2 quarters, 1 dime, 1 penny then 2 quarters, 1 dime, 2 pennies. See my problem? How do I keep subtracting quarters until there are no more than dime and so on??!? I...- willie9142002
- Post #3
- Forum: Engineering and Comp Sci Homework Help
-
W
Comp Sci How can I fix my Java program to give accurate change?
I had to write a java program that will give you the change for whatever random number that program picks. I keep having a problem with the pennies. If have to have more than one penny then program will repeat the output until it gets the pennines right. PLEASE HELP! I am not really good at...- willie9142002
- Thread
- Code Java
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help