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 nora191113a;
- /**
- *
- * @author diak2017
- */
- public class NewClass {
- public static void main(String[] args) {
- Random véletlen=new Random();
- System.out.println ("véletlenszám>" +(véletlen.nextInt(10)));
- System.out.println ("Kérek szépen egy számot: ")
- Scanner beolvaso;
- do{
- beolvaso = new Scanner (System.in);
- int egyszám;
- egyszám = beolvaso.nextInt();
- int[] szamlalo= new int[5];
- } while (true);
- }
- System.out.println ("")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement