Write a program that allows a kebele administrator to manage the resident in his district.
Your program should allow the administrator to register resident data like, resident family name,
street number or name, house number, number of family, name, age, birthdate, gender, marital
status, workplace, of each family member. Than the administrator should see the number of
residents, number of female residents, number of male residents, and other basic data
You could add other features too. Each new feature you might add has additional bonus.
You have to use structure in your implementation �
#include <iostream>
using namespace std;
int main()
{
string name;
int streetNum, houseNum, numOfFam, femaleNum, maleNum;
cin >> streetNum >> houseNum >> numOfFam >> femaleNum >> maleNum;
cout << "Street Number: " << streetNum << '\n'
<< "House Number: " << houseNum << '\n'
<< "Number of family: " << numOfFam;
return 0;
}
Comments
Leave a comment