@@ -0,0 +1,923 @@
+package java_problems.introduction;%0D%0A%0D%0Aimport java.util.*;%0D%0A%0D%0A/*%0D%0A * In most of the Hackerrank challenges, you need to read input from stdin%0D%0A * (standard input) and write your output in stdout (standard output).%0D%0A * One way to take input from stdin is to use Scanner class and reading from%0D%0A * System.in.%0D%0A * You can write your output to stdout simply using System.out.printf function.%0D%0A * In this problem you need to read 3 integers from stdin and print them in%0D%0A * stdout.%0D%0A * %0D%0A * Sample input: 42 100 125%0D%0A */%0D%0Apublic class JavaStdinStdout1 %7B%0D%0A%0D%0A    public static void main(String%5B%5D args) %7B%0D%0A        Scanner sc = new Scanner(System.in);%0D%0A        System.out.println(%22Enter 3 integers: %22);%0D%0A        int a = sc.nextInt();%0D%0A        int b = sc.nextInt();%0D%0A        int c = sc.nextInt();%0D%0A         %0D%0A        System.out.println(a);%0D%0A        System.out.println(b);%0D%0A        System.out.println(c);%0D%0A        sc.close();%0D%0A    %7D%0D%0A%7D

Add new problem