SHARE
TWEET

zadanie 9

CuteDogAteMineFrog Jan 25th, 2020 (edited) 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 com.kurs_java;
  7. import java.lang.Math;
  8.  
  9. /**
  10.  *
  11.  * @author Jakub
  12.  */
  13. public class zadanie9 {
  14.     public static void main(String[] args){
  15.        int[] tablica;
  16.         tablica = new int[10];
  17.         for(int a = 0; a<=9; a++)
  18.         {
  19.            tablica[a] = (int)(Math.random()*100+1);
  20.             System.out.println(tablica[a]);
  21.         }
  22.     }
  23. }
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