I am new to C++. I am writing a program for login system by using an array and a function. I am facing 2 problems: 1-\'B\' is registered patient. Yet, it prints "Wrong ID: