You are viewing a single comment's thread. Return to all comments →
mport java.util.Scanner;
public class Solution {
public static void main(String[] args) { Scanner scan = new Scanner(System.in); int x= scan.nextInt(); double y = scan.nextDouble(); String s= scan.nextLine(); System.out.println(s); System.out.println(+y); System.out.println(+x); }
} it is not printing strings,int,double
Java Stdin and Stdout II
You are viewing a single comment's thread. Return to all comments →
mport java.util.Scanner;
public class Solution {
} it is not printing strings,int,double