   import java.util.Scanner;
    public class MyPseudoWar_v2
   {
       public static void main (String args [])
      {
         Scanner keyboard;
         keyboard = new Scanner (System.in);
         int numberRounds;    // number of rounds in game
         int value1, value2;  // generated numbers
         System.out.println 
            (" This program will play a game of PseudoWar ");
         System.out.println
            (" The game will consist of a number of rounds ");
         System.out.println
            (" How many rounds would you like to play ");
         numberRounds = keyboard.nextInt();
         System.out.println 
            (" This game will consist of " + numberRounds + " rounds ");
         value1 = generateRandomNumber();
         System.out.println (value1);
         value2 = generateRandomNumber();
         System.out.println (value2);
      
      } // end main
   
       static int generateRandomNumber ()
      {
         double temp;
         int value;
         temp = Math.random();
         System.out.println (temp);
         temp = temp * 52 + 1;
         System.out.println (temp);
         value = (int) temp;
         System.out.println (value);
         return value;
      }
   } // end MyPseudoWar
