Concluído

program which allows the user to type a social security number in xxx-yy-zzzz format, reads it into a string object, converts the string object into its numeric equivalent integer representation via an int object and then displays the result.

Your program need not worry about improper input, if it crashes or behaves oddly due to bad input that's ok, for now. Your program must use the getline function to read the user's input. Your program must parse (break up) the input string into three substrings representing xxx, yy, and zzzz respectively. Your program must then convert each of these substrings into their equivalent integer forms. You may not use any library or member functions that do these conversions for you. You may find the fact that given any character digit d in the range of 0 to 9, then d - '0' is its integer equivalent. Also given any string str and integer ind, in the range of 0 to [url removed, login to view]() - 1, then str[ind] is the character, within the string, at location ind. Example: Given string str = "Hello"; then str[1] is e. Your program must then use the three integer values from the previous step to construct the final integer version of the social security number. At each step along the way your program must produce reasonably formatted output, displaying the results of that step (see sample output for clues as to what is reasonable). Sample Run(s): [url removed, login to view]: [url removed, login to view] Please enter social security number xxx-xx-xxxx : 123-45-6789 The original input string is String version = 123-45-678 The three extracted substrings are ------------------------------------- Substring one = 123 Substring two = 45 Substring three = 6789 ------------------------------------- The three converted integer values are -------------------------------------- Integer value one = 123 Integer value two = 45 Integer value three = 6789 -------------------------------------- The final converted integer is -------------------------------------- Integer version = 123456789 --------------------------------------

## Deliverables

Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.

## Platform

unix

## Deadline information

must have by monday morning. 8:00 am central time. i fell behind. didn't have to do over [url removed, login to view]

Habilidades: Programação C, Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software

Veja mais: what is substring, what is in programming, what is in c programming, what is functional programming, what is a string in programming, what is an object in programming, what is a library in programming, what is a function in programming, up string, the final results, substrings in c, substring in c, substring find, substring c, string the, string programming, string library in c, string library c, string in c programming, string i

Acerca do Empregador:
( 26 comentários ) United States

ID do Projeto: #2839147

Concedido a:

softersoftware

See private message.

$14 USD em 14 dias
(12 Comentários)
3.1

17 freelancers estão ofertando em média $10 para esse trabalho

vw252751vw

See private message.

$14.45 USD in 14 dias
(21 Comentários)
5.7
markmanyen

See private message.

$8.5 USD in 14 dias
(2 Comentários)
5.4
sanatanvw

See private message.

$8.5 USD in 14 dias
(71 Comentários)
5.5
smartpin

See private message.

$6.8 USD in 14 dias
(59 Comentários)
5.0
teamsgreen

See private message.

$14.45 USD in 14 dias
(48 Comentários)
4.3
anu2005

See private message.

$6.8 USD in 14 dias
(18 Comentários)
4.0
odysseyvw

See private message.

$7.65 USD in 14 dias
(32 Comentários)
3.3
vw203484vw

See private message.

$10.2 USD in 14 dias
(17 Comentários)
3.3
jaggs83

See private message.

$11.05 USD in 14 dias
(6 Comentários)
1.6
inderpalvw

See private message.

$8.5 USD in 14 dias
(2 Comentários)
0.0
wyzoon

See private message.

$8.5 USD in 14 dias
(0 Comentários)
0.0
chibalba

See private message.

$14.45 USD in 14 dias
(0 Comentários)
0.0
aovw

See private message.

$6.8 USD in 14 dias
(0 Comentários)
0.0
dmcodervw

See private message.

$12.75 USD in 14 dias
(0 Comentários)
0.0
skipnickerson

See private message.

$8.5 USD in 14 dias
(0 Comentários)
0.0
theblock

See private message.

$14.45 USD in 14 dias
(0 Comentários)
0.0