Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package dolgozat;
- import java.util.Scanner;
- /**
- *
- * @author 18ludmil
- */
- public class LudvigMilan20200226A {
- public static void main(String[] args) {
- System.out.println("Kérek egy számot 1 és 10 között:");
- int szám;
- Scanner beolvasó=new Scanner(System.in);
- System.out.println("Szám:");
- szám=beolvasó.nextInt();
- System.out.println("A megadott szám: "+szám);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement