You are viewing a single comment's thread. Return to all comments →
o/p is coming right but the editor is saying you did not pass the code
int i = scan.nextInt(); double d=scan.nextDouble(); String s1=scan.next(); String s2=scan.nextLine();
String s = s1+" "+s2;
Java Stdin and Stdout II
You are viewing a single comment's thread. Return to all comments →
o/p is coming right but the editor is saying you did not pass the code
int i = scan.nextInt(); double d=scan.nextDouble(); String s1=scan.next(); String s2=scan.nextLine();