I am in an intro to Java class and we have to make a numerology program. i have everything except the data validation done. We have to validate that the date put in was put correctly, including the forward slash. I tried using
if(slash1 !< /)
continue;
as it is in a while statement to make the whole thing repeat if something is incorrect. It always tells me that using a forward slash is invalid. Could someone point me in the direction of how to solve this?