└── sol7.txt /sol7.txt: -------------------------------------------------------------------------------- 1 | import java.util.Scanner; 2 | 3 | public class Solution { 4 | 5 | public static void main(String[] args) { 6 | Scanner scan = new Scanner(System.in); 7 | int i = scan.nextInt(); 8 | double d = scan.nextDouble(); 9 | String s = scan.nextLine(); 10 | s = scan.nextLine(); 11 | 12 | // Write your code here. 13 | 14 | System.out.println("String: " + s); 15 | System.out.println("Double: " + d); 16 | System.out.println("Int: " + i); 17 | } 18 | } 19 | --------------------------------------------------------------------------------