SHARE
TWEET

Untitled

a guest Jul 12th, 2019 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.         //String s = scan.next();
  8.        
  9.        
  10.         int i = scan.nextInt();
  11.         double d = scan.nextDouble();
  12.         scan.nextLine();
  13.         String s = scan.nextLine();
  14.         // Write your code here.
  15.  
  16.         System.out.println("String: " + s);
  17.         System.out.println("Double: " + d);
  18.         System.out.println("Int: " + i);
  19.     }
  20. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top