CS1113_Homework 7 # 1

CS1113_Homework 7 # 1 - // Declare named constants int n...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 // Matt Hergenrether // Section 10 // CS 1113 // April 15, 2008 // Homework 7 # 1 // deals with arrays import java.util.* // util contains the Scanner class public class Array { public static void main(String[] args) { Scanner scan = new Scanner(System.in)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: // Declare named constants int n double dA = new double[n] System.out.println(dA.length) for(int x = 0 x < n x++) { { dA[x] = 0 } } } // End of Main } //End of class...
View Full Document

This note was uploaded on 09/28/2011 for the course CS 1113 taught by Professor Chandler during the Fall '08 term at Oklahoma State.

Ask a homework question - tutors are online