Hackerrank - Java Solution - Java Stdin and Stdout I
Problem Link - https://www.hackerrank.com/challenges/java-stdin-and-stdout-1/problem
Level - Introduction Challenges
Java Code
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);
}
}
Tags: HackerRank Online Judge Solution, HackerRank OJ Solution list, HackerRank Problems Solution, HackerRank solver, HackerRank all problem solution list, HackerRank solution in java, Hackerrank Java Solution, Hackerrank - Java Solution - Java Stdin and Stdout I
No comments:
Post a Comment