Skip to content

Console-based city management system in C++, allowing users to add and remove buildings and people

Notifications You must be signed in to change notification settings

Florin623/City-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

City Management System

Console-based city management system in C++, allowing users to add and remove buildings and people.

Buildings:

  • City Hall
  • Hospital
  • Police Station
  • House
  • Block

People:

  • Coordinator (mayors, house owners, block administrators)
  • Employee (doctors and cops)
  • Citizen (city hall employees, hospital patients, inmates, inhabitants of the houses and blocks)


Capital: CityHall >=3, Hospital >= 2, PoliceStation >= 3, House >= 8, Block >= 4
City: CityHall >=2, Hospital >= 1, PoliceStation >= 2, House >= 4, Block >= 1

Village: Anything else except the aforementioned conditions


The output data has the following format:

Type:

Number of patients in hospitals:

Average salary for doctors:

Average salary for cops:

Average salary for mayors:

Average salary for city hall employees:

Average age of busted in police stations:

Number of people in House name of the house:

Number of people in Block name of the block:

Administrators of house and block:

About

Console-based city management system in C++, allowing users to add and remove buildings and people

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages