How to generate a random number for SSN?

Question:
Generate a random number for SSN i.e int of xxx-xx-xxxx(9 digit). Then write a function that checks if xxx, xx, xxxx and the total xxx-xx-xxxx is the prime and return true or false?

No comments:

Post a Comment