Write a C++ program to get ages of ten (10) students from user and then display on console using array. Also, there should be restriction like age should only be in the form of integers and name should be in proper format. E.g., Name should not be 123 or abc.

To be fair, can I submit this to the professor directly so I can get credit?

Just kidding you. It would be best if you share what you've done so far and ask for help where you are stuck. For us to do your homework and you take credit would be not only unfair but you would not be ready for the next assignment.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.