-
Notifications
You must be signed in to change notification settings - Fork 0
/
a_11_operator.java
44 lines (32 loc) · 1.11 KB
/
a_11_operator.java
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
38
39
40
41
42
43
44
import java.util.*;
public class a_11_operator {
public static void main(String[] args){
// Scanner sc = new Scanner(System.in);
// Arithmetic Operator :)
// System.out.println("Enter value of A:");
// int A = sc.nextInt();
// System.out.println("Enter value of B:");
// int B = sc.nextInt();
// int sum = A + B ;
// int sub = A - B ;
// int mult = A * B;
// float div = A/B;
// float modules = A % B ;
// System.out.println("Addition =" +sum);
// System.out.println("Subtractor =" +sub);
// System.out.println("Multiple =" +mult);
// System.out.println("Divition =" +div);
// System.out.println("reminders =" +modules);
// Unary Operator :)
// int a = 2;
// int b = --a;
// System.out.println(a);
// System.out.println(b);
// int a = 2;
// int b = a-- ;
// System.out.println(a);
// System.out.println(b);
// Relational Operator :)
// sc.close();
}
}