Advertisement
lol1234561

Untitled

Apr 19th, 2023
643
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.28 KB | None | 0 0
  1. public class Main {
  2.     public static void main(String[] args) {
  3.         int[] number = new int[10];
  4.  
  5.         for (int x = 0; x <= 9; x++){
  6.             number[x] = -113;
  7.             System.out.println("slot " + x + " contains a " + number[x]);
  8.         }
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement