Question: In C pls! Write a program that inputs a Social Security Number, with no dashes or spaces. You can input the number into a variable
In C pls!
Write a program that inputs a Social Security Number, with no dashes or spaces. You can input the number into a variable of type int.
The first three digits give you some information about the location of the SSN holder. Extract the first three digits of the SSN into an integer. There are several ways to do this, although I recommend a mathematical approach. From the first three digits, use an if-statement to output what state they were born in. If the three digits doesn't fall into the list, output "state not in list"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
