Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For this assignment, you are expected to write a code that checks the validity of Turkish Identification Number. The code should create a column which
For this assignment, you are expected to write a code that checks the validity of Turkish Identification Number. The code should create a column which states the validity of that number. E.g. Turkish ID Number is subjected to the following algorithm: - ID number consists of 11 digits. - 10th digit is calculated using the first 9 digits: The summation of the 1st,3rd,5th,7th and 9th digits is multiplied by 7 (Let's call this number A). Then, the summation of the 2nd,4th,6th and 8th digits is multiplied by 9 (Let's call this number B). The units digit (or mod 10) of the sum of A and B is the 10th digit. - 11th digit is calculated using the first 10 digits: The summation of the 1st,3rd,5th,7th and 9th digits is multiplied by 8 . The units digits (or mod 10) of this number is the 11th digit. In order to complete this assignment, you should be familiar with string operations in SAS. The sample dataset should be created by you. You can either use Excel to create random numbers then, import this dataset to SAS or you can use SAS commands to create your sample dataset in SAS (e.g. data lines command). It's up to you. J
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started