Question: THE CODE MUST BE DONE IN C++ 2. Write a function that takes a Student ID as a string parameter, then checks if the ID

THE CODE MUST BE DONE IN C++ THE CODE MUST BE DONE IN C++ 2. Write a function that

2. Write a function that takes a Student ID as a string parameter, then checks if the ID is valid. If the id is true, the function returns valid otherwise returns false. Print in the main function if the id is valid or not. A student id is a 6 characters string where the first three characters contains "IUB" and the last three characters are numbers. Such as IUB123, IUB299 etc. 2

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!