See attached

profilemisyte
wk7.docx

https://learn.umuc.edu/d2l/img/lp/pixel.gif

Create an Parallel Arrays

 

https://learn.umuc.edu/d2l/img/lp/pixel.gifPrevious  Next  https://learn.umuc.edu/d2l/img/lp/pixel.gif

https://learn.umuc.edu/d2l/img/lp/pixel.gifHide Description

https://learn.umuc.edu/content/enforced/170212-001555-01-2168-OL1-6386/Arrays.png?_&d2lSessionVal=fmigsahGq8QmPNaKM2Bs1kEzh

Parallel Arrays

In Pseudocode, declare two 1-dimensional parallel arrays to store the information requested in the problems below.

Use a one loop to prompt the user for the information and assign it to the parallel arrays.

Then use a second loop to display the values of the parallel arrays.

Put Part 1 - problem no. (1,2,3,4,5,6,7,8) in the Subject area.

Collect the following information, State and Population

You may do additional problems, if you want.

Part 2:

Convert Discussion 1 to C-code. Don't for get to prototype your function before the main and to define your function after the main.  Put Discussion 2 - problem no.X in the Subject area and submit a .txt (or .c) file for your code.