how can i write a program to print username and password if the minimum and maximum length of password are 5-15 respectively. please give me answer as soon as possible
The Algorithm is like this: 1. Enter the password and save it to a string. 2. Now check if the string length is less than 5 or greater then 15. 3. If length is not as you mentioned ask the user to enter the password again.