Question: 1 1. Generate a Program to: a. user enter's a name(ie): Santa Claus, Reverse it to: Claus, Santa b. user enters a social insurance number:

1

1. Generate a Program to:

a. user enter's a name(ie): Santa Claus, Reverse it to: Claus, Santa

b. user enters a social insurance number:

:check for Numerics

:Check Check Digit

2

Let's use this fictitious SIN to demonstrate:

130 692 544

Always multiply the SIN Number by this number:

121 212 121

1. (Multiply the top number by the bottom number)

130 692 544

121 212 121

160 394 584

2. If you get a 2 digit # add the digits together.

Notice here that 6*2=12, add 1 and 2 together and get 3.

Then add all of these digits together:

3. 1+6+0+3+9+4+5+8+4=40

If the SIN is valid this # will be evenly divisible by 10.

This is a 'valid' SIN.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!