(Valid Password) You are required to test the validity of a password by writing the following 4 C++ functions: a. A function called passSize that receives a string and returns true if the string has 8 or more characters. b. HA function called passSpace that receives a string and returns false if the string has space. A function called passSymbol that receives a string and returns true if the string has at least one symbol (consider a symbol as a character that is neither a letter nor a digit). C. d. A function called passUpper that receives a string and returns true if the string has at least one uppercase letter.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter9: Completing The Basics
Section9.4: Character Manipulation Functions
Problem 5E
icon
Related questions
Question
(Valid Password) You are required to test the validity of a password by writing the following 4 C++ functions:
a.
A function called passSize that receives a string and returns true if the string has 8 or more characters.
b.
HA function called passSpace that receives a string and returns false if the string has space.
A function called passSymbol that receives a string and returns true if the string has at least one
symbol (consider a symbol as a character that is neither a letter nor a digit).
C.
d.
A function called passUpper that receives a string and returns true if the string has at least one
uppercase letter.
Transcribed Image Text:(Valid Password) You are required to test the validity of a password by writing the following 4 C++ functions: a. A function called passSize that receives a string and returns true if the string has 8 or more characters. b. HA function called passSpace that receives a string and returns false if the string has space. A function called passSymbol that receives a string and returns true if the string has at least one symbol (consider a symbol as a character that is neither a letter nor a digit). C. d. A function called passUpper that receives a string and returns true if the string has at least one uppercase letter.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning