You need to assign the Scanner object to a Scanner variable. You can't assign it to an int.
int fnum = new Scanner(System.in); // error: fnum is an int variable, not a Scanner
Scanner reader =...
Type: Posts; User: helloworld922
You need to assign the Scanner object to a Scanner variable. You can't assign it to an int.
int fnum = new Scanner(System.in); // error: fnum is an int variable, not a Scanner
Scanner reader =...
In the future please use code tags. They make your code much more readable.
The first problem I can see is that the code is incomplete. You're missing at least a few closing braces at the end....