design a program that will check the format for telephone numbers. telephone numbers should be entered as a string w/ the first three character followed by a dash and the last four numbers..
please help i need an answer on this..its a simple string.