I am trying to write a program in C , which works as an efficient Login function. It is expected to have following properties:
1.Should accept the username( valid usernames are : '11user1',
'12user2' & '13user3' ). The usernames are hardcoded in the program and not stored in the file.
2. A case insensitive comparison is to be done for usernames.
3. Should accept the password. the password should not be displayed on the screen.
4. A case sensitive comparison is to be done for password.
Please suggest me, that how can i perform the case insensitive comaprisons for usernames and case sensitive comparison for passwords
Thanks in advance.