Hey guys, it's late and I want to go ZzZz, but I need to end this before I head to bed.
so basically, someone will need to enter a number in a certain format
Code
strNumber=JOptionPane.showInputDialog("Enter the number");
it has to be in this format : 999-999-999 or 999 999 999 or 999/999/999
There has to be 9 numbers and in one of these 3 formats
if it is in one of these formats ... it will just say : Valid , and if it's not , it shall say Non Valid.
Im new with java so that is why I am wondering.