forked from badal74/java-codes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathque-4.java
More file actions
14 lines (13 loc) · 428 Bytes
/
Copy pathque-4.java
File metadata and controls
14 lines (13 loc) · 428 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import java.util.Scanner;
class A{
public static void main(String [] args) {
int a , b;
Scanner sc = new Scanner(System.in);
System.out.println("Enter the value of a: ");
a = sc.nextInt(); //Taking input a
System.out.println("Enter the value of b: ");
b = sc.nextInt(); //Taking input b
System.out.println("The value of a is : " + a);
System.out.println("The value of b is : " + b);
}
}