Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char[][] array = new char[rows][coloums];
- for(int r=0; r<rows; r++){
- for(int c=0; c<coloums; c++){
- for(char moo: sc.nextLine().toCharArray()){
- array[r][c] = moo;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement