Answer to Question #286828 in C++ for Hena

Question #286828

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 �

1
Expert's answer
2022-01-12T12:39:34-0500
#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;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment