Advertisement
hugol

Untitled

Jun 19th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.34 KB | None | 0 0
  1. public class Rozwiazanie{
  2.   public static void main(String[] args){
  3.       double a,b,c;
  4.       a = 1.0;
  5.       b = 2.0;
  6.       c = 3.0;
  7.       System.out.println("(a+b)*c= "+((a+b)*c));
  8.       System.out.println("a-b/c= "+(a-b/c));
  9.  
  10.       a++;
  11.       b++;
  12.       c++;
  13.  
  14.       System.out.println("Czy a+b>c? "+((a+b)>c));
  15.       System.out.println("Czy a=b? "+(a==b));
  16.   }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement