Why is my Java program not working correctly? -
this code working class. when run it hangs @ welcome message , go no further, wont let me type anything. i've asked instructor multiple times , giving advice corrections given still dont fix issue have. doing wrong? /* * file: foreverygame.java * author: darren pirtle * date: november 8, 2016 * purpose: provide amount of money customer can win per * nba game if betting x amount of money x amount of games */ // import statements import java.util.scanner; public class foreverygame { public static void main(string[] args) { //declare variables int numbergames = 0; int moneyamount = 0; //display welcome message system.out.println(" "); system.out.println("how money can win?!"); system.out.println(" "); //scanner class scanner scannerin = new scanner(system.in); //prompt user number of games during night while (numbergames > 15 || numbergames <= 0);