Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need help with this c++ assignment card characters, shown to the user as [o-91 and represent any non-alphanumeric character. That characters s used to
I need help with this c++ assignment
card characters, shown to the user as [o-91 and represent any non-alphanumeric character. That characters s used to represent any single digit, and 13- is used to lity should be divided in two for the two categories of wild card In other words: The computer will generate a string of 5 characters 20% of the time a wild card character will be generated. Half of that time it should be a NON Alphanumeric character In the prompt to the user this is shown as [-1] If the user enters ANY non-alphanumeric character it is considered a match. For this situation, you should add a" to your growing string. The other half of time the wildcard character should be a single digit. This is shown to the user as [0-9] For this situation, you should add a "0" to your growing string. As for alphabetic characters (not wild), half of the time it should be an UPPER case letter and half of the time it should be a lower case letter When the following is printed by the program: BIy[o- should try to match the 5 character string having the following specification: the user The user is to try to type: the first character is B the second character is I the third character isy the fourth character is any single digit the fifth character is any NON alphanumeric Typing error for positions with wild card characters is treated according to the following: If r0-9) appears in the output, and the user does not type a digit, the offset for that position should be the absolute difference between the character typed and 'o" If (s-1 appears in the output, and the user does not type a non-alphanumeric character, the t nnsition should be the absolute difference between the character typed and card characters, shown to the user as [o-91 and represent any non-alphanumeric character. That characters s used to represent any single digit, and 13- is used to lity should be divided in two for the two categories of wild card In other words: The computer will generate a string of 5 characters 20% of the time a wild card character will be generated. Half of that time it should be a NON Alphanumeric character In the prompt to the user this is shown as [-1] If the user enters ANY non-alphanumeric character it is considered a match. For this situation, you should add a" to your growing string. The other half of time the wildcard character should be a single digit. This is shown to the user as [0-9] For this situation, you should add a "0" to your growing string. As for alphabetic characters (not wild), half of the time it should be an UPPER case letter and half of the time it should be a lower case letter When the following is printed by the program: BIy[o- should try to match the 5 character string having the following specification: the user The user is to try to type: the first character is B the second character is I the third character isy the fourth character is any single digit the fifth character is any NON alphanumeric Typing error for positions with wild card characters is treated according to the following: If r0-9) appears in the output, and the user does not type a digit, the offset for that position should be the absolute difference between the character typed and 'o" If (s-1 appears in the output, and the user does not type a non-alphanumeric character, the t nnsition should be the absolute difference between the character typed and
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