The first part of the assignment works okay; and I think I understand the 2nd part, but I get an error message that I don't understand:
(I'm trying to use a while loop to do the coin calculation... Thanks in advance. R
The first part of the assignment works okay; and I think I understand the 2nd part, but I get an error message that I don't understand:
(I'm trying to use a while loop to do the coin calculation... Thanks in advance. R
The error shown is almost always caused by a problem with the previous line - a syntax error where the compiler is expecting another parameter in a function call, a semicolon is missing, a problem with parentheses or curly braces, or some other formatting/syntax error.
The problem isn't in the while loop that is shown, it's in the code immediately before it.
If this answers your question, please click on the check mark to accept the answer. Let's keep up on forum housekeeping. ;-)