Question: Grey lines cannot be edited CHALLENGE ACTIVITY 3.15.1: Character operations. 496400 3015168.qx3zay7 Jump to level 1 Read in a 2-character string from input into variable
Grey lines cannot be edited

CHALLENGE ACTIVITY 3.15.1: Character operations. 496400 3015168.qx3zay7 Jump to level 1 Read in a 2-character string from input into variable passwordStr. Declare a boolean variable isValid and set isValid to true if passwordStr contains a lowercase letter. Otherwise, set isValid to false. Ex: If the input is y@, then isValid is assigned with true, so the output is: Good password Ex: If the input is 80, then isValid is assigned with false, so the output is Bad password Note: Use getline(cin, passwordStr) to read the entire line from input into passwordStr. #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
