Shafayet92 0 Newbie Poster

Print a full line of C++ string array, if use gives the 1st name.

Example:  string  X[10]={"Muhamad Husin, A123456",
                  "Nor Asma, A155743",
                  "Raja Kumar, A18723",
                  "Muhamad Ali, A123908",
                  "Ali Shah, A145234",
                  "Siti Sarah, A120945",
                  "Siti kahadijah, A154237",
                  "Syed Azman, A276456",
                  "Chong Wei, A156278"};

         User will input "Nor"; Print the full line.