- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsolution.java
More file actions
Latest commit
17 lines (14 loc) · 499 Bytes
/
Copy pathsolution.java
File metadata and controls
17 lines (14 loc) · 499 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// github.com/Utkarsh299-tech
importjava.util.Scanner;
publicclassSolution {
publicstaticvoidmain(String[] args) {
Scannersc=newScanner(System.in);
System.out.println("================================");
for(inti=0;i<3;i++){
Strings1=sc.next();
intx=sc.nextInt();
System.out.printf("%-14s %03d %n", s1, x);
}
System.out.println("================================");
}
}