Advertisement
hugol

Untitled

Jun 19th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.27 KB | None | 0 0
  1. public class Main {
  2.  
  3.     public static void main(String[] args) {
  4.  
  5.         int a = 10;
  6.  
  7.         int b=11;
  8.  
  9.          
  10.  
  11.         if (a>b) {
  12.  
  13.             System.out.println("A jest większe od B " +a+" "+b);
  14.  
  15.         } else {
  16.  
  17.             System.out.println("B jest większe od A" + b + " >" +a);
  18.  
  19.         }
  20.  
  21.     }
  22.  
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement