User Tools

Site Tools


number_cube

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
number_cube [2019/09/13 13:39]
frchris
number_cube [2019/09/13 13:40]
frchris
Line 20: Line 20:
         do          do 
         {         {
 +            // roll the cubes and return the sum of the 2 dice
 +            ​
             System.out.println("​Press return to roll, type Q to quit"​);​             System.out.println("​Press return to roll, type Q to quit"​);​
             input = kb.nextLine();​             input = kb.nextLine();​
number_cube.txt ยท Last modified: 2019/09/16 14:32 by frchris