Sign In Program
- Zaheer Abbasi
- Apr 26, 2022
- 1 min read
Updated: Sep 2, 2023
As we know that in the Sign In Program we have to put two main things i-e ID and Password of that ID. Let's consider that first, we take ID as an input from user. If the ID that is entered by the user is equal to the ID that is defined in the program will then ask for the password from the user. As in the program, we have also defined the password, So when the user inputs the password; the program will check whether it is equal to it or not. Here we have used the while loop because this loop will run only for 5 (five) times.

Comments