Question: In C++ please 1.Using a suitable message, prompt the user for the name on the account. The name can have multiple words.Only alphabets (A-Z or
In C++ please
1.Using a suitable message, prompt the user for the name on the account. The name can have multiple words.Only alphabets (A-Z or a-z) and whitespaces are permitted in the account name.If the user enters any other characters in the name, you need to generate an error message and ask for the name again. The program must keep on asking the user to enter the name until the user enters it correctly.
2.Using a suitable message, prompt the user for an account number. The account number must be a 6 digit number. If the user enters any other account number, generate an error message and ask the user to enter the number again. The program must keep on asking the user to enter the number until the user enters it correctly.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
