Lp8 Assignments Average 1

Question Description

This assignment will assess Competency; 8. Demonstrate basic knowledge of Object-Oriented Programming.

Directions: For this assignment, you will complete exercise 2 on page 577 which involves creating a project with a specific class (Class State) in it. Be sure to read the bold print just BEFORE the exercise description. Complete this exercise and submit a .zip file of the completed Project – the whole Project and not just the code.

Submit your assignment to your instructor via the dropbox “LP8.2 Assignment: Average.” This assignment is worth 45 points and will be graded according to the following scoring guide.

The file UnitedStates.txt provides data on the 50 states. (This file is used in Exercises 2 through 5.) Each record contains five pieces of information about a single state: name, abbreviation, date it entered the union, land area (in square miles), and popu- lation in the year 2015. The records are ordered by the date of entry into the union. The first three lines of the file are

Delaware,DE,12/7/1787,1954,941875 Pennsylvania,PA,12/12/1787,44817,12856989 New Jersey,NJ,12/18/1787,7417,8969545

2. U.S. States Create a class State with five properties to hold the information about a single state and a method that calculates the density (people per square mile) of the state.

Posted in Uncategorized

Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount