You are viewing a single comment's thread. Return to all comments →
it is just waste of time.. It is running fine in my IDE..But here String: null...
Scanner sc=new Scanner(System.in); int x=sc.nextInt(); double y=sc.nextDouble(); String s=new BufferedReader(new InputStreamReader(System.in)).readLine(); System.out.printf("String: "+s); System.out.println("\nDouble: "+y); System.out.println("Int: "+x); }
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 →
it is just waste of time.. It is running fine in my IDE..But here String: null...