Write a program that uses an array of state objects and


Input file containing info for 50 states

Create a class state with 5 properties to hold the information about a single state and a method that calculates the

density(people per square mile) of a state

Create an array of state objects and write a program that requests a state's name in an inputbox and displays the state's

abbreviation, density and date of entrance into the union.

Write a program that uses an array of state objects and raises an event whenever the population density exceeds 10 million.

Display the names of these states in a listbox.

Delaware

DE

Dec. 1787

2489

759000

Pennsylvania

PA

Dec. 1787

46058

12296000

New Jersey

NJ

Dec. 1787

8722

8135000

Georgia

GA

Jan. 1788

59441

7637000

Connecticut

CT

Jan. 1788

5544

3271000

Massachusetts

MA

Feb. 1788

10555

5950000

Maryland

MD

April 1788

12407

5322000

South Carolina

SC

May 1788

32007

3932000

New Hampshire

NH

June 1788

9351

1165000

Virginia

VA

June 1788

42769

7048000

New York

NY

July 1788

54475

18237000

North Carolina

NC

Nov. 1789

53821

7617000

Rhode Island

RI

May 1790

1545

998000

Vermont

VT

March 1791

9615

592000

Kentucky

KY

June 1792

40411

3989000

Tennessee

TN

June 1796

42146

5538000

Ohio

OH

March 1803

44828

11453000

Louisiana

LA

April 1812

51843

4478000

Indiana

IN

Dec. 1816

83574

6045000

Mississippi

MS

Dec. 1817

48434

2750000

Illinois

IL

Dec. 1818

57918

12168000

Alabama

AL

Dec. 1819

52423

4485000

Maine

ME

March 1820

35387

1240000

Montana

MO

Aug. 1821

69709

5437000

Arkansas

AR

June 1836

53182

2578000

Michigan

MI

Jan. 1837

96810

9759000

Florida

FL

March 1845

65758

15313000

Texas

TX

Dec. 1845

268601

20039000

Iowa

IA

Dec. 1846

56276

2930000

Wisconsin

WI

May 1848

65503

5381000

California

CA

Sept. 1850

163707

34888000

Minnesota

MN

May 1858

86943

4828000

Oregon

OR

Feb. 1859

98386

3404000

Kansas

KS

Jan. 1861

82282

2722000

West Virginia

WV

June 1863

24231

1840000

Nevada

NV

Oct. 1864

110567

1691000

Nebraska

NE

March 1867

77358

1704000

Colorado

CO

Aug. 1876

104100

4059000

North Dakota

ND

Nov. 1889

70704

643000

South Dakota

SD

Nov. 1889

77121

770000

Montana

MT

Nov. 1889

147046

920000

Washington

WA

Nov. 1889

71303

6070000

Idaho

ID

July 1890

83574

1290000

Wyoming

WY

July 1890

97818

522000

Utah

UT

Jan. 1896

84904

2148000

Oklahoma

OK

Nov. 1907

69903

3382000

New Mexico

NM

Jan. 1912

121598

1823000

Arizona

AZ

Feb. 1912

114006

4437000

Alaska

AK

Jan. 1959

656424

699000

Hawaii

HI

Aug. 1959

10932

1327000

 

Solution Preview :

Prepared by a verified Expert
Visual Basic Programming: Write a program that uses an array of state objects and
Reference No:- TGS01244137

Now Priced at $20 (50% Discount)

Recommended (95%)

Rated (4.7/5)