Advertisement
CuteDogAteMineFrog

zadanie 9

Jan 25th, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 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 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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement