1. Engineering
  2. Computer Science
  3. please use basic java code to solve the following problem...

Question: please use basic java code to solve the following problem...

Question details

Please use basic java code to solve the following problem:

(4 points) Write a program that prompts the user to enter a Social Security number in the format DDD-DD-DDDD, where D is a digit. Your program Enter a SSN: 232-23-5435 Enter 232-23-5435 is a valid social security number Enter a SSN: 23-23-5435 Enter 23-23-5435 is an invalid social security number

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution