Posted by Phillip on May 10, 2003 at 11:36:09:
Hello I own a small business and I have several hundred phone numbers that I have to organise I was wondering if you could write me a small simple program that reads a ten digit telephone number then extracts the 2-digit area code, and divides the number into two separate 4 digit blocks.
Enter a 10-digit telephone number: 0734567890
You entered 0734567890
The area code is 07
The complete telephone number is (07) 3456-7890
If someone could help me it would make my job alot easier.