Question: Assignment 13.3: Valid Email (10 pts) image source Write a program that takes as input an email address, and reports to the user whether or

Assignment 13.3: Valid Email (10 pts)

image source

  • Write a program that takes as input an email address, and reports to the user whether or not the email address is valid.
  • For the purposes of this assignment, we will consider a valid email address to be one that contains an @ symbol
  • The program must allow the user to input as many email addresses as desired until the user enters "q" to quit.
  • For each email entered, the program should display "That email address is valid" or "That email address is invalid"
  • Name your program Email.java and upload it to Canvas once it is working as shown in the sample output below

The output of your program should look identical to the sample output below except user input may vary.

Welcome! Enter an email and I will tell you if it is valid. Please enter an email or q to quit: bob@jobs.com

That email address is valid.

Please enter an email or q to quit: bobajobs.com

That email address is invalid

Please enter an email or q to quit: bob@jobs

That email address is valid.

Please enter a sentence or q to quit: q

Goodbye!

Intenet E nail Address Your e-mai addess ia the addresa other people use to send e-mail messeges to you E-mail adresz mnichGbiotechderkm For eample someone@ricosotcom Back

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!