Assignment #131

Code

/// Name: Jonathan Stine
/// Period: 5
/// Program Name: Create Your Own Array
/// File Name: CreateArray.java
/// Date Finished: 6/1/2016
    
    public class CreateArray {
    
        public static void main(String[] args) {
    
            int numberly[] = {6, 23, 3, 41};
    
            System.out.println( numberly[0] + " " + numberly[1] + " " + numberly[2] + " " + numberly[3] );
            
            numberly[0]+=2;
            numberly[1]-=7;
            numberly[2]/=3;
            numberly[3]*=2;
    
            System.out.println( numberly[0] + " " + numberly[1] + " " + numberly[2] + " " + numberly[3] );
    
        }
    }
    
 
    

Code Output