hye.. im newbie at here.. please help me...

how to write a program that will prompt the user for a USA phone in the form (xxx) xxx-xxxx.. the output will appear like this..

What is your number phone? (312)444-5555
That has been parsed to:3124445555


  • Easy, you first make an console application, then ask for the phone number, then let the user input it and store that value in a string, then remove all the "(", ")" and "-" that the string may contain and there you go.
    Life is like a s**t sandwich, each day, you eat a good mouthful of it...
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion