Home

Java Stdin And Stdout I

Detailed explanation coming soon!

import java.util.*;

public class Solution {
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int numToRead = 3;
        for(int i = 0; i < numToRead; i++){
            System.out.println(in.nextInt());
        }
    }
}


Questions? Have a neat solution? Comment below!