Added 14 solutions
This commit is contained in:
@@ -3,13 +3,14 @@ import java.util.Scanner;
|
||||
public class Solution {
|
||||
|
||||
public static void main(String[] args) {
|
||||
Scanner sc = new Scanner(System.in);
|
||||
Scanner scan = new Scanner(System.in);
|
||||
System.out.println("================================");
|
||||
for (int i = 0; i < 3; i++) {
|
||||
String s1 = sc.next();
|
||||
int x = sc.nextInt();
|
||||
String s1 = scan.next();
|
||||
int x = scan.nextInt();
|
||||
System.out.format("%-15s%03d%n", s1, x);
|
||||
}
|
||||
System.out.println("================================");
|
||||
scan.close();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user