Program 131: Create Your Own Array
//Name: Ilana Levy
//Period: 5
//Program Name: Create Your Own Array
//File Name: createArray.java
//Date Finnished: 5/31/2016
public class createArray{
public static void main( String[] args ){
int iNeedArrays[] = {7, 8, 20};
System.out.println( iNeedArrays[0] + " " + iNeedArrays[1] + " " + iNeedArrays[2]);
System.out.println( "addition of all three numbers gives you " + (iNeedArrays[0] + iNeedArrays[1] + iNeedArrays[2]));
System.out.println( "Whereas multiplication gives you " + iNeedArrays[0] * iNeedArrays[1] * iNeedArrays[2]);
}
}