Java Stdin and Stdout I hackerrank solution - java
for explanation watch video:
Code:
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) {
Scanner scn = new Scanner(System.in);
int a = scn.nextInt();
int b = scn.nextInt();
int c = scn.nextInt();
System.out.println(a);
System.out.println(b);
System.out.println(c);
}
}
Comments
Post a Comment