Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Rozwiazanie{
- public static void main(String[] args){
- double a,b,c;
- a = 1.0;
- b = 2.0;
- c = 3.0;
- System.out.println("(a+b)*c= "+((a+b)*c));
- System.out.println("a-b/c= "+(a-b/c));
- a++;
- b++;
- c++;
- System.out.println("Czy a+b>c? "+((a+b)>c));
- System.out.println("Czy a=b? "+(a==b));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement