Advertisement
Guest User

Untitled

a guest
Dec 16th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. package zadania;
  2.  
  3. import java.util.Scanner;
  4.  
  5. public class T3 {
  6. public static void main(String[] args) {
  7. Scanner in = new Scanner(System.in);
  8. //▓
  9. int iz, sz;
  10. iz = in.nextInt();
  11. sz = in.nextInt();
  12. int li = 3;
  13. int space = sz*iz;
  14. int stspace = sz*iz;
  15. for(int i = 0; i < space; i++) {
  16. System.out.print(" ");
  17. }
  18.  
  19. System.out.println("♦");
  20.  
  21.  
  22. for(int z = 0; z < space; z++) {
  23. System.out.print(" ");
  24. }
  25.  
  26. System.out.println("▓");
  27.  
  28. for(int i = 0; i < iz; i++) {
  29.  
  30. for(int z = 0; z < sz; z++) {
  31. //CHOINKa + SPACJE
  32.  
  33. }
  34.  
  35. for(int z = 0; z < stspace; z++) {
  36. System.out.print(" ");
  37. }
  38. System.out.println("▓");
  39. }
  40.  
  41. }
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement