-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest3.java
More file actions
37 lines (37 loc) · 704 Bytes
/
test3.java
File metadata and controls
37 lines (37 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import java.util.*;
public class test3
{
public static void main(String[] args)
{
int x=3,y=17;
boolean yn=true;
System.out.println("x+y*x--="+(x+y*x--));
x=3;
y=17;
System.out.println("-x*y+y="+(-x*y+y));
x=3;
y=17;
System.out.println("x<y&&yn="+(x<y&&yn));
x=3;
y=17;
System.out.println("x>y||!yn="+(x>y||!yn));
x=3;
y=17;
System.out.println("y!=++x?x:y="+(y!=++x?x:y));
x=3;
y=17;
System.out.println("y++/--x="+(y++/--x));
x=3;
y=17;
System.out.println("--y>>>3="+(--y>>>3));
x=3;
y=17;
System.out.println("++x/++x="+(++x/++x));
x=3;
y=17;
System.out.println("x++/++x="+(x++/++x));
x=3;
y=17;
System.out.println("++x/x++="+(++x/x++));
}
}