Password - message | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Password - message

Minimum length is 6 Maximum length is15. Conditions for: Password is Okay. Password is very short. PasswordIsVeryVeryVeryLong.

10th Dec 2018, 4:58 PM
Thotla Thirupathi
Thotla Thirupathi - avatar
6 Answers
+ 6
DaRlInG_tHiRu_RoCkzZ Can you show your attempts of solving this question?
11th Dec 2018, 2:53 AM
Frost
Frost - avatar
+ 5
Password is not visible Please ask your question clearly..
10th Dec 2018, 5:07 PM
Frost
Frost - avatar
11th Dec 2018, 3:19 AM
Thotla Thirupathi
Thotla Thirupathi - avatar
0
Password - message Minimum length is 6 Maximum length is15. Print appropriate messages for each condition. Password - message. The passwords are inputs. ABd1234@1-Password is Okay. abc-Password is too short. PasswordIsVeryVeryVeryLong - password is very long
10th Dec 2018, 5:10 PM
Thotla Thirupathi
Thotla Thirupathi - avatar
0
Input : password entered by the user Output can be based on 1) if the input password string length is less than 6 then output as password is very short 2) if the input password string length lies between 6 and 15 then output as password is okay 3) if the input password string length is greater than 15 , then output as password is very long I think this answer might be helpful to u
10th Dec 2018, 5:29 PM
Bhuvana Karthigeyan
Bhuvana Karthigeyan - avatar
10th Dec 2018, 5:31 PM
Thotla Thirupathi
Thotla Thirupathi - avatar