Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.company;
- public class Main {
- public static void main(String[] args) {
- short[] Zufallszahl = new short[50];
- int grenze = 50;
- for (int i = 0; i < Zufallszahl.length; i++) {
- Zufallszahl[i] = (short) (Math.random() * grenze);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement