compiler error in sample program for my class
ok so i was given the following as a sample program in my C class but I can't compile it without getting an error that says line 22: Parse Error, expecting ''}'' 'int'
So either my professor made a mistake, which I assume is unlikely or there's something wrong with the way I'm trying to compile it. I've tried using jGRASP and Miracle C and both give me similar errors.
I haven't really programmed in C for a few years so i'd really appreciate the help