Checkout
checkout
view
Your Cart Your Cart: item(s)
Subjects -> Computer Science -> Systems Analysis -> Posting #31732
Add to Shopping Cart
$2.19 Instant Download
Computer Science, Systems Analysis
Year 3

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:

  • Plain text response
  • Attachment(s):
    • URBANIT.C
$2.19 Download Add to Cart

Add to Shopping Cart
$2.19 Instant Download
Building Classes - Write a program to do rational number arithmatic, representing each rational number as a class that has instance variables for the numerator and the denomonator. The program should read and display all rational numbers in the format a/b, or simply a if the denominator is 1.
Classes and Enumerators - Use the type Date (consisting of a month name, day number, and a year number) to develop a class Event to model events scheduled for specified dates. use this class in a program that reads several events and stores these in a vector of Events. After all the events have been entered, the program should display a schedule of events in chronological order.
Files and Streams - People from three different income levels, A, B, and C, rated each of two different products with a number 0 through 10. Construct a file in which each line contains the income level and product rankings for one respondent. Then write a program tht reads this information and calculates the following: a. for each income bracket, the average rating for product 1; b. the numbe...
Multidimensional Arrays and Vectors - A certain professor has a file containg a table of student grades, where the first line of the file contains the number of students and the number of scores in the table; each row of the table represents the exam scores of a given student and each culumn represents the scores on a given exam. The maximum possible score on each exam was 100 points. Write a pro...
Arrays and Vectors - A company has a product line that includes five items that sell for $100, $75, $120, $150, and $35. There are four salespersons working for this company, and the following report is for a given week: Salesperson Item Number 1 2 3 4 5 1 ...

Page generated in 0.0596 seconds

About Us ·  Contact Us ·  Samples ·  Solutions ·  Legal Terms and Conditions ·  Privacy Policy

©2008 SolutionLibrary.com

Search for Solutions About Us Samples