Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.*;
- import java.util.Scanner;
- public class Main {
- public static void main(String[] args) {
- Scanner scan = new Scanner(System.in);
- String szoveg= scan.nextLine();
- int szam= scan.nextInt();
- Double tort= scan.nextDouble();
- System.out.println("String: " + szoveg);
- System.out.println("Double: " + tort);
- System.out.println("Int: " + szam);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement