College Assignment C++

Виконано Опубліковано %project.relative_time Оплачується при отриманні
Виконано Оплачується при отриманні

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

Програмування на С Техніка MySQL PHP Архітектура ПЗ Тестування ПЗ

ID Проекту: #2824212

Про проект

10 заявок(-ки) Дистанційний проект Остання активність Jul 17, 2001

Доручено:

vw129744vw

See private message.

$25.5 USD за 14 дні(-в)
(10 відгуків(-и))
3.0

10 фрілансерів(-и) готові виконати цю роботу у середньому за $26

sysg

See private message.

$46.75 USD за 14 дні(-в)
(25 відгуків(и))
4.6
vw132761vw

See private message.

$63.75 USD за 14 дні(-в)
(33 відгуків(и))
4.2
worldmanvw

See private message.

$25.5 USD за 14 дні(-в)
(2 відгуків(и))
2.1
gkellett

See private message.

$17 USD за 14 дні(-в)
(2 відгуків(и))
1.3
kompooter

See private message.

$8.5 USD за 14 дні(-в)
(3 відгуків(и))
0.7
mominrashid

See private message.

$17 USD за 14 дні(-в)
(0 відгуків(и))
0.0
vw148067vw

See private message.

$21.25 USD за 14 дні(-в)
(0 відгуків(и))
0.0
classcoder

See private message.

$10.2 USD за 14 дні(-в)
(0 відгуків(и))
0.0
mgohara

See private message.

$21.25 USD за 14 дні(-в)
(0 відгуків(и))
0.0