get rid of the set of brackets that start after meal5 = scan.nextInt() and that end after mealtoeat = scan.nextInt(), those aren't needed and will cause errors.
try adding
String foodA = " ";...
Type: Posts; User: javapenguin
get rid of the set of brackets that start after meal5 = scan.nextInt() and that end after mealtoeat = scan.nextInt(), those aren't needed and will cause errors.
try adding
String foodA = " ";...
Scanner console = new Scanner(System.in);
int numOfArrows = 0;
int numberOfArrowsToUse = 0;
System.out.println("Hello! Input the number of Arrows you want!");
numOfArrows = console.nextInt();
...