Guest User

Untitled

a guest
Oct 19th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. public class stack {
  2. private int tab[][] = new int[26][26];
  3.  
  4.  
  5. public static void main(String[] args){
  6. stack fen = new stack();
  7. }
  8.  
  9. public stack() {
  10. this.tab[0][5] = 2;
  11. for(int x = 0;x<25;x++) {
  12. for(int y=0;y<25;y++) {
  13. System.out.print(this.tab[y][x] + " ");
  14. }
  15. System.out.println();
  16. }
  17. }}
  18.  
  19. public class stack {
  20. private int tab[][] = new int[26][26];
  21.  
  22. public static void main(String[] args) {
  23. stack fen = new stack();
  24. }
  25.  
  26. public stack() {
  27. this.tab[0][5] = 2;
  28. int x1 = 0, y1 = 0;
  29.  
  30. for (int y = 0; y < 910; y += 35) {
  31. for (int x = 0; x < 910; x += 35) {
  32. // Placer(this.tab[5][25], x, y);
  33. // Placer(this.tab[x1][y1], x, y);
  34. System.out.print(this.tab[y1][x1] + " ");
  35. }
  36. System.out.println();
  37. x1++;
  38. y1++;
  39. }
  40.  
  41. }}
Add Comment
Please, Sign In to add comment