Question: can anyone help me code this in C++ programs needs to read an unknown number of 9 digits numbers from the standard input. Let each
can anyone help me code this in C++
programs needs to read an unknown number of 9 digits numbers from the standard input. Let each of the numbers from input represent a social security number. Input can terminate when the end-of-data marker is encountered.
pull each grouping of numbers using division and modulus
looking at figure 1 line 11 use


SourceFile:Input:Output:Value:/1337/14/1ab14.(CCPPcppc++cccxxcp)StandardInputStandardOutput1 In the United States, a Social Security number (SSN) is a nine-digit number issued to U.S. citizen: permanent residents, and temporary (working) residents under section 205(c)(2) of the Social Security Ac The number is issued to an individual by the Social Security Administration, an independent agency of th United States government. The Social Security number is a nine-digit number in the format "AAA-GG-SSSS". The number is divide into three parts: - The area number, the first three digits, is assigned by the geographical region. - The middle two digits are the group number. They have no special geographic or data significanc but merely serve to break the number into conveniently sized blocks for orderly issuance. - The last four digits are serial numbers. They represent a straight numerical sequence of digits fror 0001-9999 within the group. Write a complete program that will read an unknown number of nine-digit numbers from the standar input. Let each of the input numbers represent a Social Security number. Input can terminate when th end-of-data marker is encountered. For each nine-digit number, print it and its formatted form as show below. The output should be directed to the standard output. Commands to compile, link, and run this assignment are shown in Figure 1. Figure 1. Commands to Compile, Link, \& Run Lab 14 (Part 1 of 2) Figure 1. Commands to Compile, Link, \& Run Lab 14 (Part 2 of 2)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
