subject
Computers and Technology, 28.11.2021 14:00 dekhua

(Check SSN) Write a program that prompts the user to enter a Social Security number in the format ddd-dd-, where d is a digit. Your program should check whether the input is valid.
Sample Run 1
Enter a SSN: 232-23-5435
232-23-5435 is a valid social security number
Sample Run 2
Enter a SSN: 23-23-5435
23-23-5435 is an invalid social security number

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:30
Ajeweler designing a pin has decided to use five stones chosen from diamonds, rubies, and emeralds. in how many ways can the stones be selected?
Answers: 3
question
Computers and Technology, 22.06.2019 18:30
Which of the following commands is more recommended while creating a bot?
Answers: 1
question
Computers and Technology, 23.06.2019 02:50
There’s only one game mode that stars with the letter ‘e’ in cs: go. which of the options below is it?
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
The basic work area of the computer is it screen that you when you first fire up your computer
Answers: 1
You know the right answer?
(Check SSN) Write a program that prompts the user to enter a Social Security number in the format...
Questions
question
History, 06.07.2019 20:00
question
Mathematics, 06.07.2019 20:00
question
Mathematics, 06.07.2019 20:00
question
English, 06.07.2019 20:00
question
Mathematics, 06.07.2019 20:00
question
Mathematics, 06.07.2019 20:00