/* * Intro to Programming CSE 1310 * University of Texas at Arlington */ package code29mar18; /** * * @author jcmtiernan */ public class Code29Mar18 { /** * @param args the command line arguments */ public static void main(String[] args) { double[] bookNum = new double[10]; int i; for (i = 0; i < 10; i++) { bookNum[i] = (int)( Math.random() * 100); //i * i * i; } for (i = 0; i < 10; i++) { System.out.println("bookNum["+i+"] is "+bookNum[i]); } } }