Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write C++ program which prompts and reads a string from the user and then comput

ID: 3535313 • Letter: W

Question

Write C++ program which prompts and reads a string from the user and then computes the American Soundex code.




Write your code using good modular design, i.e. use functions effectively and do not just put all of your code in the main method.


The correct value can be found as follows:


((((((( this is so important test your program and see if it works perfectly ))))


Using this algorithm, both "Robert" and "Rupert" return the same string "R163" while "Rubin" yields "R150". "Ashcraft" and "Ashcroft" both yield "A261" and not "A226" (the chars 's' and 'c' in the name would receive a single number of 2 and not 22 since an 'h' lies in between them). "Tymczak" yields "T522" not "T520" (the chars 'z' and 'k' in the name are coded as 2 twice since a vowel lies in between them). "Pfister" yields "P236" not "P123" (the first two letters have the same number and are coded once as 'P').

Explanation / Answer

http://ideone.com/HaMAU0

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote