questions(console);
I'm getting these error messages on my java code and I cannot figure out what I'm doing wrong. Here is a link to my code: https://github.com/MrTechCenter/CSC/blob/master/MadLib.java
These are the errors I'm getting:
MadLib.java:17: error: method questions in class MadLib cannot be applied to given types;
questions();
^
required: Scanner
found: no arguments
reason: actual and formal argument lists differ in length
MadLib.java:24: error: cannot find symbol
String city = console.nextline();
^
symbol: method nextline()
location: variable console of type Scanner
This error repeats for every single use of "console.nextline();"
Please help! I have a feeling it's something obvious that I'm just missing but I don't know what it is.