Question: Global Info Technologies has approached you to develop an application to maintain the work details of their employees. Imagine you are developing the login module.

Global Info Technologies has approached you to develop an application to maintain the work details of their employees.

Imagine you are developing the login module. In that module,you will have to validate the id with the format given from the client.

The format is "GBL/001/0417", here the first three letters are standard. 

Create class UserMain and implement the functionalities which are required.

Sample Input 1:

Enter your ID

GBL/020/0715

Sample Output 1:

Login success

Sample Input 2:

Enter your ID

ABC/120/0215

Sample Output 2:

Incorrect ID

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 Programming Questions!