Design a program that accepts resident data and produces a


a. Th e city of Cary is holding a special census. Th e census takers collect one record for each resident. Each record contains a resident's age, gender, marital status, and voting district. Th e voting district field contains a number from 1 through 22. Design a program that accepts data for each resident until all have been entered and then produces a list of all 22 districts and the number of residents in each.

b. Design a program that accepts resident data and produces a count of the number of residents in each of the following age groups: under 18, 18 through 30, 31 through 45, 46 through 64, and 65 and older.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Design a program that accepts resident data and produces a
Reference No:- TGS01474404

Expected delivery within 24 Hours