I just want anyone's opinion or comment/suggestion, because I believe the less code, the more efficient, the better. Right?
Here's my homework question:
Create a program named change.java. Using input dialog boxes or console input, prompt the user how many pennies, nickels, dimes, and quarters they have. Using a message box or console output, tell the user the total dollar amount of money they have.
Here's what I have, but I just feel like it could be better. Thanks for any and all comments/suggestions: