Question: CHALLENGE ACTIVITY 4 . 6 . 1 : Password requirements. 5 7 9 7 0 4 . 4 4 6 5 7 5 0 .
CHALLENGE
ACTIVITY
: Password requirements.
Jump to level
A website requires that passwords do not contain spaces. For each character in passwordStr that is a space, assign the character with a hashtag #
grad Click for example
Ex: If the input is then the output is:
Valid password: #X$
Note: isspace returns true if a character is whitespace, and false otherwise. Ex: isspace returns true. isspacea returns false
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
