Question: Write a C + + program that inputs a Social Security Number ( SSN ) , with no dashes or spaces ( e . g
Write a C program that inputs a Social Security Number SSN with no dashes or
spaces eg Input the number into a variable of type int.
The first three digits of a social security number provides information about the
location of the SSN holder SSNCheck.org For example, if the value is then the
person was likely born in Alaska. If the value is between and then the person
was probably born in Washington. is Oregon and is California.
Extract the first three digits of the SSN into an integer. From these first three digits,
use an ifstatement to output what state they were likely born in If the three digits
doesn't fall into any of those ranges, output "Born in a state other than AK CA WA
OR
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
