package GuessNumber.java; import javax.swing.JOptionPane; public class GuessNumber { public static void main (String args[ ]) { JOptionPane.showMessageDialog(null,"给你一个1至100之间的整数,请猜测这个数"); int realNumber=(int)(Math.random()*100)+1; int yourGuess=0;