Create a C++ program that uses a vector to store the ages of students. You have to add three students and ask the user to enter the name and ages every time the program is compiled, look up the age of a student, and display it.
You can use indexing operator inside a loop to set the age of a student.
Sample Input:
Maria // Name of a student
23 // Age of a student
Jucy
28
Albert
29
Albert // Looking up the age of a student