subject
Chemistry, 15.12.2021 05:20 smith12349

(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

In C++ please

ansver
Answers: 1

Other questions on the subject: Chemistry

image
Chemistry, 22.06.2019 00:00, nyasiasaunders1234
1) these are barrel shaped microtubules in most animal cells, that organize the spindles during cell division
Answers: 1
image
Chemistry, 22.06.2019 05:00, brockhull
Which best explains why an iceberg floats?
Answers: 2
image
Chemistry, 22.06.2019 09:00, SilverTheAmarok
This chart lists four kinds of polymers and their sources. what can be known about all four polymers, despite their differences? they come from living things. they share ionic carbon bonds. they are at least 100 monomers long. they are made of repeating subunits.
Answers: 2
image
Chemistry, 22.06.2019 20:20, MaliaHale
Which symbol can be used to indicate the pressure at which a chemical reaction is carried out? 25°c 2 atm pa
Answers: 2
You know the right answer?
(Check SSN) Write a program that prompts the user to enter a Social Security number in the format...

Questions in other subjects:

Konu
Mathematics, 24.07.2020 20:01
Konu
Mathematics, 24.07.2020 20:01