@@ -0,0 +1,440 @@
+package com.samovich.cop2800.chapter1;%0A%0Aimport javax.swing.JOptionPane;%0A%0A/**%0A * Filename RandomGuess.java%0A * Created by Valery Samovich%0A * Written on 5/13/16%0A */%0Apublic class RandomGuess %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        JOptionPane.showMessageDialog(null, %22Think about the number from 1 to 10%22);%0A        JOptionPane.showMessageDialog(null, %22The number is %22 +%0A                (1 + (int)(Math.random() * 10)));%0A    %7D%0A%7D%0A

Add Random Guess example