You are viewing a single comment's thread. Return to all comments →
Where do you not understand? please explain your problem to get your solution;
Here, Input Format:
There are three lines of input:
The first line contains an integer. The second line contains a double. The third line contains a String.
Here is main code:
int i = scan.nextInt(); double d = scan.nextDouble(); scan.nextLine(); String s = scan.nextLine();
Seems like cookies are disabled on this browser, please enable them to open this website
Java Stdin and Stdout II
You are viewing a single comment's thread. Return to all comments →
Where do you not understand? please explain your problem to get your solution;
Here, Input Format:
There are three lines of input:
The first line contains an integer. The second line contains a double. The third line contains a String.
Here is main code: