Question: Complete the following program with appropriate C++ statements. This program stores the information of 50 Persons using structures. Declare a structure to represent a name

Complete the following program with appropriate C++ statements. This program stores the information of 50 Persons using structures. Declare a structure to represent a name with two (2) members of type char array with size 20 named firstname and lastname. Then, create a structure named Person with three (3) members. The members include fullname type Name, age type integer and citizen type integer. Store 50 input data in an array named Pof type Person Print out a list of persons who have age greater than or equal 21 years old. Note: Please write C ++ statements WITHOUT blank spaces unless it is absolutely needed. Example:int numa,b: #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
