Hello people,
I'm beginning courses of programming and I have some difficulties...
I have a homework to do using Java language !
So I wanted to ask you, if maybe you can help me please. I don't know where to start at all !
The subject is :
"1-You need to write a program that asks the user for an array size, and then asks the user to enter that many integers. Your program will then print out the sum , average, largest and smallest of the values in the array. 10 points
2- According to the U.S. Census Bureau, the 10 largest American cities (by population) in 2000 were as follows: 10 points
New York, NY (8,008,278 people)
Los Angeles, CA (3,694,820)
Chicago, IL (2,896,016)
Houston, TX (1,953,631)
Philadelphia, PA (1,517,550)
Phoenix, AZ (1,321,045)
San Diego, CA (1,223,400)
Dallas, TX (1,188,580)
San Antonio, TX (1,144,646)
Detroit, MI (951,270)
Define an array (or arrays) that holds this information about locations and population. Print a table of locations and population information that includes the total population in all 10 cities."
Thanks a lot in advance !