Question: This Question include C++ and various kinds of Data structure using STL implementation. (Data Structures and Algorithm) Develop a complete C++ program that demonstrates a

This Question include C++ and various kinds of Data structure using STL implementation. (Data Structures and Algorithm)

This Question include C++ and various kinds of Data structure using STL

Develop a complete C++ program that demonstrates a day care system. The program should allow user

to:

1. Search record

2. Register record

3. Update record

4. Delete record

5. Save entries

6. View record

Sample Output

Remarks: For guideline, kindly refer to sample of output. Font in red is user input.

implementation. (Data Structures and Algorithm) Develop a complete C++ program that demonstrates

a day care system. The program should allow user to: 1. Search

record 2. Register record 3. Update record 4. Delete record 5. Save

entries 6. View record Sample Output Remarks: For guideline, kindly refer to

sample of output. Font in red is user input. Children string int

string int string int int int day month year date string name

Children string int string int string int int int day month year date string name age gender guardian contactNo address vector Children Children children Children Children Children 0 1 2 MAIN MENU :: DAY CARE MENU : : 1. Search record 2. Register record 3. Update record 4. Delete record 5. Save record 6. View record 7. Quit Enter choice: 1 MAIN MENU : SEARCH RECORD (EXAMPLE 1) :: SEARCH RECORD :: Enter Name of Children: Hasni Hasan Search Status: No record found MAIN MENU : SEARCH RECORD (EXAMPLE 2) :: SEARCH RECORD :: Enter Name of Children: Hasni Husin Record Details: Name Date of Birth Age Gender Guardian name Contact no Address : Hasni Husin : 12-04-2018 : 3 years old : Female : Husin Hasan : 019123654 : No 117, Jalan Lurus 1, Taman Lurus, 77100 Kajang, Selangor Search Status: Completed MAIN MENU : REGISTER RECORD :: REGISTER RECORD :: Name Date of Birth Gender or Error! Re-enter Gender : Hasni Husin : 12 04 2018 : x :F Emergency Contact: Guardian name Contact no Address Kajang, Selangor : Husin Hasan : 019123654 : No 117, Jalan Lurus 1, Taman Lurus , 77100 Registration Status: Completed MAIN MENU : UPDATE RECORD (EXAMPLE 1) :: UPDATE RECORD :: Enter Name of Children : Hasni Hasan Update Status: No record found MAIN MENU : UPDATE RECORD (EXAMPLE 2) :: UPDATE RECORD :: Enter Name of Children: Hasni Husin Record Details: 1. Name 2.Date of Birth Age 3. Gender 4.Guardian name 5. Contact no 6. Address : Hasni Husin : 12-04-2018 : 3 years old : Female : Husin Hasan : 019123654 : No 117, Jalan Lurus 1, Taman Lurus,77100 Kajang, Selangor Enter no to update : 7 Error! Re-select no to update: 2 Enter new Date of Birth : 12 04 2017 Age : 4 years old Update Status: Completed MAIN MENU : DELETE RECORD (EXAMPLE 1) :: DELETE RECORD :: Enter Name of Children : Hasni Hasan Deletion Status: No record found MAIN MENU : DELETE RECORD (EXAMPLE 2) :: DELETE RECORD Enter Name of Children: Hasni Husin Record Details: Name Date of Birth Age Gender Guardian name Contact no Address : Hasni Husin : 12-04-2017 : 4 years old : Female : Husin Hasan : 019123654 : No 117, Jalan Lurus 1, Taman Lurus , 77100 Kajang, Selangor Enter 'Y' to delete: Y Deletion Status: Completed MAIN MENU : DELETE RECORD (EXAMPLE 3) Enter 'Y' to delete: N Deletion Status: Cancelled MAIN MENU : DISPLAY RECORD :: DISPLAY RECORD :: 1. List of Male children 2. List of Female children 3. List of All children Enter selection : 1 :: List of Male Children:: Record #1 Details: Name Karim Ahmad Date of Birth: 09-09-2018 Age : 3 years old Gender : Male Guardian name : Ahmed Kareem Contact no : 019111222 Address : No 99, Kg. Anda, 77100 Kajang, Selangor Record #2 Details: Name : Boboi Boy Date of Birth : 20-10-2017 Age 4 years old Gender : Male Guardian name : Boboi Man Contact no : 019334455 Address : No 20, Lorong Jalan, 77108 Kajang, Selangor End of Record. Total no of Male children: 2 Total no of All children : 5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!