Question: Write a program in C++.Ask the user for an email address. Determine if the input meets the standard for an email address. An email address

Write a program in C++.Ask the user for an email address. Determine if the input meets the standard for an email address. An email address must have an @ symbol. Further, an email address must have a period after the @ symbol.

Required output is below:

test@example.com 
Enter your email address Email accepted. 

Test Case 2

Standard Input
test%example.com 
Enter your email address Missing @ symbol 

Test Case 3

Standard Input
test@examplecom 
Enter your email address Missing . symbol after @ 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!