2551.p5.Fall2010

2551.p5.Fall2010 - COP 2551 Introduction to OOP Program #5...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
COP 2551 – Introduction to OOP Program #5 Due: Friday, 3 December 2010 Please note: There is no ‘late turnin.’ Note : This is an easy program; worth 90 points. This is essentially a C program. You will only need a Main class with one additional static method (see below). Its main purpose is to acquaint you with 2d arrays, and that’s it. Very straightforward. Using NetBeans 6.7.1 or later version you are to write a Java program using OOP principles to accommodate the following functionality Using the input file Countries.txt , you are to build a 4 by X array of integers, average the numbers in each row and display the array and averages. Each record in the input file has two fields of interest to you necessary to build your two-dimensional array: the region number and the population. (You will need a substring to extract those two numbers, as in Program 4) Task 1: Build a Two-Dimensional Array . Build a 4by X array such that each row contains a list of integers for ‘that’ region.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/26/2011 for the course COP 2551 taught by Professor Roggio,r during the Summer '08 term at UNF.

Page1 / 2

2551.p5.Fall2010 - COP 2551 Introduction to OOP Program #5...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online