College Assignment C++

Completed Posted Jul 17, 2001 Paid on delivery
Completed Paid on delivery

I will send you a copy of A program that is in my book and the program needs to be modified. In the program, the stream extraxtion and insertion operators were overloaded for input and output of objets of the PhoneNumber class. Rewrite the stream extraction operator to perform the following error checking on input. The operator>> function will need to be entirely recoded. (a) Input the entire phone number into an array. Test that the proper number of characters has been entered. There should be a total of 14 characters read for a phone number of the form (800) 555-1212. Use the stream member function clear to set ios::fail-bit for improper input. (b)The area code and exhange do not begin with 0 or 1. Test the first digit of the area code and exchange portions of the phone number to be sure that neither begins with 0 or 1. Use stream member function clear to set ios::failbit for improper input. (c) The middle digit of an area code used to always be 0 or 1 (although this has changed recently). Test the middle digit for a value of 0 or 1. Use the stream member function clear to set ios::failbit for improper input. If none of the above operations results in ios::failbit being set for iproper input, coy the three parts of the telephone number into the areaCode, exchange, and line members of the PhoneNumber object. In the main program, if ios::failbit has been set on the input, have the program print an error message and end rather than print the phone number.

## Deliverables

The file for the main() program will begin with a header containing the following information. PROGRAM TITLE, DETAILS: Input(what input is required for this code segment to accomplish its task, Input data types and variable names) Output(What output does the code produce, Output data types and variable names). Intermediate variables(data types and variable names). Global variables (Global variable data types and variable names or none). Design (A description of the algorithm or logic used in the design of the program. Steps used to create the program solution. Include any neccessary explanations to understand the program). I will also need to email you a copy of the program that needs to be modified.

## Deadline information

The program must be finished by 07/25/01

C Programming Engineering MySQL PHP Software Architecture Software Testing

Project ID: #2824212

About the project

10 proposals Remote project Active Jul 17, 2001

Awarded to:

vw129744vw

See private message.

$25.5 USD in 14 days
(10 Reviews)
3.0

10 freelancers are bidding on average $26 for this job

sysg

See private message.

$46.75 USD in 14 days
(25 Reviews)
4.6
vw132761vw

See private message.

$63.75 USD in 14 days
(33 Reviews)
4.2
worldmanvw

See private message.

$25.5 USD in 14 days
(2 Reviews)
2.1
gkellett

See private message.

$17 USD in 14 days
(2 Reviews)
1.3
kompooter

See private message.

$8.5 USD in 14 days
(3 Reviews)
0.7
mominrashid

See private message.

$17 USD in 14 days
(0 Reviews)
0.0
vw148067vw

See private message.

$21.25 USD in 14 days
(0 Reviews)
0.0
classcoder

See private message.

$10.2 USD in 14 days
(0 Reviews)
0.0
mgohara

See private message.

$21.25 USD in 14 days
(0 Reviews)
0.0