You are viewing a single comment's thread. Return to all comments →
//Java 15 import java.io.*; import java.util.*; public class Solution { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int i = Integer.parseInt(scan.nextLine()); double d=scan.nextDouble(); scan.nextLine(); String str=scan.nextLine(); System.out.println("String: " + str+"\nDouble: "+d+"\nInt: "+i); } }
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 →