0
using loops ie for,while or do while .to check..for login input data validity
Username must match as before So should the password
3 ответов
+ 3
have you try writing some code for this, if(true) show it; else try write some, users here don't write code for others but help em fix it
+ 1
If you were asking which loop is more suitable for login information validation scenarios, then I recommend do...while loop. Why? because this loop goes at least once before it evaluates the loop condition validity. You normally get the credentials at least once, check for credentials validity, and loop while it's not valid, or exit the loop if credentials are valid.
Implementation is in your hand, nonetheless tup
0
You can also "switch" also for this.