Completed

Number Generator With Rules

I need a program coded that can take data like below and automatically output it in a certain way. For example:

City Batch, Area Code Batch, Phone number

New York1,NYC - 212-1,2122000000

Here are the rules:

For every 2000 phone numbers, the area code batch number should increase by 1.

ex:

New York1,NYC - 212-1,2122001999

New York1,NYC - 212-2,2122002000

For every 100 area code batches, the city batch number should increase by 1.

ex:

New York1,NYC - 212-100,2122199999

New York2,NYC - 212-101,2122200000

In the end there should be 8,000,000 records per file; the program would begin generating from 2000000 all the way to 99999999.

ex. of first and last record

New York1,NYC - 212-1,2122000000

New York40,NYC - 212-4000,2129999999

On my side I should be able to input the city batch name and area code batch name and have the program automatically put it into the above format.

Example

City Batch Name: Miami

Area Code Batch Name: MIA - 305

Phone Number Start: 305

The program would then take that information and turn it into the format:

Miami1,MIA - 305-1,3052000000

The program should output to a .txt file with one record per line. Please make sure the program does not freeze or become slow after running for a certain period of time.

Attached is an example of a text file I started by hand...it is only the very beginning but you will get an idea.

Skills: C Programming, PHP

See more: time in miami, programming number, programming 101, miami data, get started with c# programming, get started with c programming, beginning programming, beginning c programming, my phone number, rules, mia, phone numbers generator, phone number name city, name phone number phone number, generating phone, name phone number, code batch, batch code generator, number name, number generator program

About the Employer:
( 30 reviews ) United States

Project ID: #3817451

Awarded to:

musicalbacteria

See private message.

$17 USD in 2 days
(8 Reviews)
3.1

17 freelancers are bidding on average $43 for this job

GetReal

See private message.

$85 USD in 2 days
(304 Reviews)
7.3
eperfections

See private message.

$42.5 USD in 2 days
(197 Reviews)
6.8
renardpaul

See private message.

$42.5 USD in 2 days
(115 Reviews)
6.6
Wonderer

See private message.

$51 USD in 2 days
(80 Reviews)
6.0
nafarin

See private message.

$23.8 USD in 2 days
(90 Reviews)
5.3
gdiab

See private message.

$25.5 USD in 2 days
(68 Reviews)
5.2
georgecarmen2009

See private message.

$42.5 USD in 2 days
(16 Reviews)
4.4
bava1003

See private message.

$63.75 USD in 2 days
(21 Reviews)
4.1
vw7079204vw

See private message.

$42.5 USD in 2 days
(9 Reviews)
3.6
smartelf

See private message.

$21.25 USD in 2 days
(8 Reviews)
3.5
vw7111611vw

See private message.

$51 USD in 2 days
(5 Reviews)
3.4
vw1464139vw

See private message.

$46.75 USD in 2 days
(6 Reviews)
2.7
burpicane

See private message.

$42.5 USD in 2 days
(13 Reviews)
2.4
codeInnovative

See private message.

$34 USD in 2 days
(9 Reviews)
1.7
RobertZenz

See private message.

$8.5 USD in 2 days
(2 Reviews)
0.0
SunriseSoftTech1

See private message.

$85 USD in 2 days
(0 Reviews)
0.0