There's really too much wrong with that code to fix. I suggest you start over, this time compiling and testing as you go. As it is, it looks like you wrote it all before ever trying to compile.
i did that for the first half and it was working fine.. however, due to time constraint, i wrote the second half without checking it. then when i tried to compile it all, it didn't work anymore. stupid mistake - now i'm faced with a problem
but as i asked initially, in general, what does the error " syntax error before `<' " mean?
>what does the error " syntax error before `<' " mean?
You have syntax errors all over the place, but the first error is failure to terminate this line with a semicolon:
Just to point out, those numbers in the syntax error report are line numbers inside the files. Look a few lines up or down of the cited line number for a hint.
We see that there is a problem somewhere around line 10. Looking up a few lines, we see the statement lateFee = 20 but no semicolon (
The numbers are there to help you. It has been my experience that the numbers hint to problems above the line number. Also remember that one little bug can throw the whole soup down the drain... fix from top to bottom, and you can see from time to time that a whole mess of things get corrected by fixing one little part.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.