Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //create the new 10 array
- int [] gridTwo = new int [10];
- //set the boolean to false
- Boolean findmoney = false;
- //loop through through grid
- for (i=0; i<10; i++){
- for (j=0; j<10; j++){
- //setting the values to 0, resetting it
- grid [i][j] = 0;
- }//end loop for j
- }//end loop for i
- //while there is a next line to read
- While (sc.hasnextLine){
- //read it in
- String s = sc.nextLine()
- //save as a string
- Char[]str = s.ToArray;
- //if it reads in a dollar sign
- if (s == $){
- While(stop)//stop the loop
- }//end loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement