Multidimensional Arrays and Vectors
A demographic study of the metropolitan area around Dogpatch divided it into three regtions (urban, suburban, and exurban) and published the following table showing the annual migration grom one region to another (the numbers represent percentates);
Urban Suburban Exurban
Urban 1.1 0.3 0.7
Suburban 0.1 1.2 0.3
Exurban 0.2 0.6 1.3
For example, 0.3 percent of the urbanites move to the suburbs each year. Using a two-dimensional array with an enumerated type fo the indices to store this table, write a program to determine the population of each region after 10,20,30,40, and 50 years. Assume that the current population of the urban, suburban, and exurban regions are 2.1, 1.4, and 0.9 million, respectively.
By OTA: Abdun Mahmood, PhD
OTA Rating: 4.9/5
Your Price: $2.19 (original value ~$11.97)
What's included:
Page generated in 0.0596 seconds