2. A password is called STRONG if it holds all of the following properties: (a) It has at least 8 characters (b) It contains at least one lower case letter, and at least one upper case letter (c) It does not contain any blank space Write down a program that will take a password as input to a string and will print a message indicating whether it is STRONG or WEAK. Sample input: Strange Sample output: The password is WEAK
2. A password is called STRONG if it holds all of the following properties: (a) It has at least 8 characters (b) It contains at least one lower case letter, and at least one upper case letter (c) It does not contain any blank space Write down a program that will take a password as input to a string and will print a message indicating whether it is STRONG or WEAK. Sample input: Strange Sample output: The password is WEAK
Chapter7: Characters, Strings, And The Stringbuilder
Section: Chapter Questions
Problem 12RQ
Related questions
Question
C code
Screenshot and
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 3 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT