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 solve in C program language

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter7: Characters, Strings, And The Stringbuilder
Section: Chapter Questions
Problem 12RQ
icon
Related questions
Question
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
solve in C program language
Transcribed Image Text: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 solve in C program language
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Methods of StringBuilder class
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT