The professor has asked us to do this:
Your program will receive an email address in args[0]. You must determine if it could be a real email address. This means:
There must be an '@' character in it.
There must be at least one character before the '@' character.
After the '@' character, there must be a '.' character.
There must be at least one character between the '@' character and the '.' character.
There must be at least one character following the '.' character.
I have no idea where to even start. I set up the string value of args[0]but I don't know what to do. We learned about multiple if else statements and boolean stuff in class I think he wants us to use those. Like for example how would I go about saying "The email must contain @" like how do I code for that?