You are viewing a single comment's thread. Return to all comments →
import java.util.*;
public class Solution {
public static void main(String[] args) { Scanner in=new Scanner(System.in); int i=in.nextInt(); double d=in.nextDouble(); in.nextLine(); String s=in.nextLine(); System.out.println("String: "+s +"\n"+"Double: "+d+"\n"+"Int: "+i+"\n"); in.close(); }
}
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 →
import java.util.*;
public class Solution {
}