-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add java stdin-and-stdout problem stmt and solution
- Loading branch information
PrasadHonrao
authored and
PrasadHonrao
committed
Oct 8, 2019
1 parent
66801ee
commit b5bfaec
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
java/introduction/java-stdin-and-stdout/java-stdin-and-stdout.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.