Skip to content

Commit

Permalink
Add java stdin-and-stdout problem stmt and solution
Browse files Browse the repository at this point in the history
  • Loading branch information
PrasadHonrao authored and PrasadHonrao committed Oct 8, 2019
1 parent 66801ee commit b5bfaec
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions java/introduction/java-stdin-and-stdout/java-stdin-and-stdout.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import java.util.*;

public class Solution {

public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int c = scan.nextInt();

System.out.println(a);
System.out.println(b);
System.out.println(c);

}
}
Binary file not shown.

0 comments on commit b5bfaec

Please sign in to comment.