Advertisement
Guest User

Untitled

a guest
Nov 13th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.69 KB | None | 0 0
  1. /*
  2.  * To change this license header, choose License Headers in Project Properties.
  3.  * To change this template file, choose Tools | Templates
  4.  * and open the template in the editor.
  5.  */
  6. package nora191113a;
  7.  
  8. /**
  9.  *
  10.  * @author diak2017
  11.  */
  12. public class NewClass {
  13. public static void main(String[] args) {
  14.    Random véletlen=new Random();    
  15.     System.out.println ("véletlenszám>" +(véletlen.nextInt(10)));
  16.     System.out.println ("Kérek szépen egy számot: ")
  17. Scanner beolvaso;        
  18.  
  19. do{
  20.      beolvaso = new Scanner (System.in);
  21.      int egyszám;
  22.      egyszám = beolvaso.nextInt();
  23.      int[] szamlalo= new int[5];
  24.      } while (true);
  25.   }
  26. System.out.println ("")
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement