How to open this program on a window?
问题 Can anyone help me with my if and else statements? It's only saying "Exit Goodbye" whenever I input something, which should only happen when I enter -0. My teacher is gone for the week, so I don't have anyone to ask for help. package game; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Random; import javax.swing.JOptionPane; public class GameFrame { /** * @param args */ public static void main(String[] args) { // num1 - Variable to store the first value //