Question: Code a C# project (using Visual Studio 2013 or 2015) to solve the following problem: The city of Ankh-Morpork held a special census to collect
Code a C# project (using Visual Studio 2013 or 2015) to solve the following problem:
The city of Ankh-Morpork held a special census to collect data on its residents.
The file containing the results of the census is structured as follows:
| FIELD DESCRIPTION | DATA TYPE | VALID VALUES |
| Age | Numeric | Greater than 0 |
| Gender | Character | M, m, F, f |
| Marital Status | Character | M, m, S, s |
| District | Numeric | 1 - 22 |
residents are in each district, and a count of residents in each of the following age The city has 22 districts. The census department wants to see a listing of how many For example: 21, M, S, 1The fields in each record will be separated by a comma.
groups (for all the districts combined): under 18, 18 through 30, 31 through 45, 46
through 64, and 65 or older.
Example Output:
District
Population
1 ,423
2,123
.
.
.
.
22, 187
Under 18, 754
18-30, 622
31-45, 852
46-64, 543
65 & over, 126
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
