Question: Using Visual Studio Create a console project. Have users to enter name and credit card number, verify the information. 1. Name field: -- both first
Using Visual Studio
Create a console project. Have users to enter name and credit card number, verify the information. 1. Name field: -- both first name and last name must be entered separated by a single space. -- Only letters can be accepted. -- Use patten "\b[a-zA-Z]{2,15}\s[a-zA-Z]{2,15}\b" or ^[a-zA-Z]+ [a-zA-Z]$+ 2. Card Number field: -- Only digits can be accepted. -- Pattern: "^[0-9]{12,19}$"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
