We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Java Stdin and Stdout II
Java Stdin and Stdout II
Sort by
recency
|
1183 Discussions
|
Please Login in order to post a comment
import java.util.*; import java.math.BigDecimal;
public class Solution {
}
Hi @Everyone can you please explain me how they are take input without any code
import java.util.Scanner;
public class Solution {
String s=scan.nextLine();
}
this is the solution import java.util.Scanner;
public class Solution {
public static void main(String[] args) { Scanner scan = new Scanner(System.in); int i = scan.nextInt(); double d = scan.nextDouble(); scan.nextLine(); String str= scan.nextLine();
scan.close();
} }