Question
*in Java and screenshots please*** 1) Password Verification: The user given string should : * have 6 characters * have atleast one uppercase character *
1) Password Verification:
The user given string should :
* have 6 characters
* have atleast one uppercase character
* have atleast one lowercase character
* have atleast one digit
Only if the user given string has these conditions, it can be considered as a valid password
2) Given a sentence, find total number of words as well as the unique words and how many times each unique word occurs.
Sample i/p: row row row your boat gently down the stream merrily merrily merrily merrily life is but a dream
Expected output:
total number of words : 18
number of unique words : 13
row : 3
your : 1
boat : 1
gently : 1
down : 1
the : 1
stream : 1
merrily : 4
life : 1
is : 1
but : 1
a : 1
dream : 1
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started