Refactored solutions
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
import java.util.*;
|
||||
import java.util.Scanner;
|
||||
|
||||
public class Solution {
|
||||
|
||||
public static void main(String[] args) {
|
||||
/* Read and save input */
|
||||
Scanner scan = new Scanner(System.in);
|
||||
int a = scan.nextInt();
|
||||
int b = scan.nextInt();
|
||||
int c = scan.nextInt();
|
||||
|
||||
scan.close();
|
||||
|
||||
/* Print data */
|
||||
System.out.println(a);
|
||||
System.out.println(b);
|
||||
System.out.println(c);
|
||||
|
||||
Reference in New Issue
Block a user