You're right. Why bother using code tags.
>> int main();
>> {
Should be
>> int main()
>> {
No ; after main.
twomers
Posting Virtuoso
1,877 posts since May 2007
Reputation Points: 453
Solved Threads: 57
> grade(void);
It's just grade();
Next time, use the [code][/code] tags. Between joining the forum and posting your first message there are many opportunities to learn how to do this, and you failed all of them.
Salem
Posting Sage
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953