Check Digit Question not able to solve..

Check Digit Question not able to solve..

Hi, I need some help asap. I been stuck for this question for more than 3 days. Using Java.

User needs to key in identification number (e.g. U0906931E) system check for the first prefix either 'U' || 'A'.

If its 'U' then it removes the first, last and the third digit. (096931) the result is then multiplied to {0, 1, 3, 1, 2, 7} Answer is then sum up. The answer is divided by 13. The value is check against the check digit table.

If its 'A' then the alphabets are removed with balanced with 7 digits then they are summed up. The answer is divided by 13. The value is check against the check digit table.

To display the id entered, the sum and remainder Then it goes thru a data validation to validate input.

Need help in how to convert the string of data to integers?

View Answers









Related Tutorials/Questions & Answers:
Check Digit Question not able to solve..
Check Digit Question not able to solve..   Hi, I need some help asap. I been stuck for this question for more than 3 days. Using Java. User needs... against the check digit table. To display the id entered, the sum and remainder
Check for character is digit or not.
Description: This tutorial demonstrate the use of Character.isDigit() method which checks whether the value stored in char data-type variable is digit or not. Code: public class CheckDigit 
Advertisements
ModuleNotFoundError: No module named 'odoo10-addon-sequence-check-digit'
ModuleNotFoundError: No module named 'odoo10-addon-sequence-check-digit' ...: ModuleNotFoundError: No module named 'odoo10-addon-sequence-check-digit' How to remove the ModuleNotFoundError: No module named 'odoo10-addon-sequence-check-digit'
ModuleNotFoundError: No module named 'odoo10-addon-sequence-check-digit'
ModuleNotFoundError: No module named 'odoo10-addon-sequence-check-digit' ...: ModuleNotFoundError: No module named 'odoo10-addon-sequence-check-digit' How to remove the ModuleNotFoundError: No module named 'odoo10-addon-sequence-check-digit'
ModuleNotFoundError: No module named 'odoo11-addon-sequence-check-digit'
ModuleNotFoundError: No module named 'odoo11-addon-sequence-check-digit' ...: ModuleNotFoundError: No module named 'odoo11-addon-sequence-check-digit' How to remove the ModuleNotFoundError: No module named 'odoo11-addon-sequence-check-digit'
ModuleNotFoundError: No module named 'odoo11-addon-sequence-check-digit'
ModuleNotFoundError: No module named 'odoo11-addon-sequence-check-digit' ...: ModuleNotFoundError: No module named 'odoo11-addon-sequence-check-digit' How to remove the ModuleNotFoundError: No module named 'odoo11-addon-sequence-check-digit'
ModuleNotFoundError: No module named 'odoo12-addon-sequence-check-digit'
ModuleNotFoundError: No module named 'odoo12-addon-sequence-check-digit' ...: ModuleNotFoundError: No module named 'odoo12-addon-sequence-check-digit' How to remove the ModuleNotFoundError: No module named 'odoo12-addon-sequence-check-digit'
ModuleNotFoundError: No module named 'odoo9-addon-sequence-check-digit'
ModuleNotFoundError: No module named 'odoo9-addon-sequence-check-digit' ...: ModuleNotFoundError: No module named 'odoo9-addon-sequence-check-digit' How to remove the ModuleNotFoundError: No module named 'odoo9-addon-sequence-check-digit'
ArrayList question plz solve it
ArrayList question plz solve it  An arraylist object stores an Emp Object, where there is name,age,address of the employee is stored, And i want to access the data in the basis of age based? Provide answer to the question
help me to solve this question...
help me to solve this question...  Given below is a class definition for Book. Type and compile the class, and answer the following questions: class Book { String title; //bookâ??s title double price; //bookâ??s
solve my question shortly
solve my question shortly  <html> <head> <script> function checkphoneNumber(number){ if(/[^\d ]/.test(number)){ alert('It should contain numbers [0-9] only!'); document.getElementById
help me to solve this question
help me to solve this question  Write a program that inputs a series of integers into an array. The numbers are in the range 0 to 100. Calculate and display : a) The Largest number b) The Smallest Number c)The sum of the numbers
help me to solve this question
help me to solve this question   A user needs to key in data into system in order to save data into array. The data are: a. Lecturer ID, Lecturer name, School, course code, course name, session, semester A user can edit the data
Check whether the sum of alternate digit of a number is palindrome or not.
Check whether the sum of alternate digit of a number is palindrome... are going to check whether the sum of the alternate digit of a number entered... of the alternate digits of number (like if a number is 23456, the sum of alternate digit
plz help meto solve this question
plz help meto solve this question  for a file that exist what will be the length() method in the file class return
how do i solve this question?
how do i solve this question?  1.Define a class named Circle with the following properties: a) An integer data field named radius with protected access modifier, and a String data field named colour with private access modifier
Check for character is letter or digit.
Description .style1 { background-color: #FFFFCC; } Description: This tutorial demonstrate how to check a character variable value is a digit or letter using isLetterOrDigit() method. Code:ADS_TO_REPLACE_1
please help me to solve this question about array
please help me to solve this question about array  write a program thatt stores vowels (a,e,i,o and u)in an array. Ask the user to enter any character. The program should ignore the case of that character (uppercase or lowercase
need to solve the below question - Java Beginners
need to solve the below question  I need to write an application that uses the circle class.it must read a radius of a circle from the user .create a circle object and return the object
Solve it
Solve it  How to calculate the value which contains oparator and operand both using command line argument
solve this
solve this   Create a student class. The student object should have studentid, studentname, subject and marks as properties. Also generate the getter and setter methods. Create 5 objects of this class and populate values
16 Digit
16 Digit  In a text box I can Only type A-Z & 1-10 upto 16 Digit.   <html> <script> function checkString(text) { if(/[^A-Za-z\d ]/.test(text)){ alert('String should contain letters and numbers only
ModuleNotFoundError: No module named 'digit'
ModuleNotFoundError: No module named 'digit'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'digit' How to remove the ModuleNotFoundError: No module named 'digit'
calculate sum of individual digit
calculate sum of individual digit  Hi How to calculate product of first snd last digit of indiviual digit Like Num=23456 S=2*6
Digit Only text field
Digit Only text field  How should we accept digits only in a textbox? (using JSTL only, without Javascript
calculate sum of individual digit
calculate sum of individual digit   How calculate product of first and last digit of indiviual numbers Like a=43278 4*8=32
check
updated"); will the above code check if the user has entered value for empcode
Encode 5 digit zip code - Java Beginners
zip code, sum the digits, and come up with the check digit. I then need to convert this to encode into a five digit bar code plus the check digit. In our book... has a sum of 19, check digit would be a 1 to become a multiple of 10 and when
question
question  how to solve the problem of The requested resource is not available+java+eclipse
ModuleNotFoundError: No module named 'digit-converter'
ModuleNotFoundError: No module named 'digit-converter'  Hi, My... named 'digit-converter' How to remove the ModuleNotFoundError: No module named 'digit-converter' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'digit-index'
ModuleNotFoundError: No module named 'digit-index'  Hi, My Python... 'digit-index' How to remove the ModuleNotFoundError: No module named 'digit-index' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'digit-recognition'
ModuleNotFoundError: No module named 'digit-recognition'  Hi, My... named 'digit-recognition' How to remove the ModuleNotFoundError: No module named 'digit-recognition' error? Thanks   Hi, In your
Version of com.jtfmumm>digit-parser_2.10 dependency
List of Version of com.jtfmumm>digit-parser_2.10 dependency
question
question  how to solve the below problem com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'emp_id' in field list is ambiguous
question
question   sir plz tell me what should i give in title box. just i want java program for the question typed in this area
question
question   sir plz tell me what should i give in title box. just i want java program for the question typed in this area
Question
Question   When there is an exception in my program how java runtime system handles
question
question  Good afternoon Sir, how to solve the problem of The requested resource is not available+java+eclipse if you can play a demo
question
question  how to solve this problem com.mysql.jdbc.MysqlDataTruncation: Data truncation: Incorrect time value: ' 0:34:13 PM' for column 'afternoon' at row 1
question
question  dear sir/madam my question is how to compare two text format in java..we are java beginners..so we need the complete source code for above mentioned question...we have to compare each and every word
question
question  Dear sir i had some typing mistake at previous question so its my humble request to let me know the steps to start the tomcat6 under the tomcat directory
question
question  how to solve this problem The import jade.core.Agent cannot be resolved   This means that the above package does not not exist in your jdk. So download jar file that contains this package and put the jar file
question
/) is not available.** how tdo i solve this.please help me to run my project please give
question
question  Gud morning sir, I have asked u some question regarding jsp in saturaday for that i didnot find any answere in which u send me the some..." value="Check"></td></tr> </table> </form> <
solve this pbm
solve this pbm  its not working the code for databae access using servlets
Question?
Question?  My question is how to: Add a menu bar to the program...); } public void itemStateChanged(ItemEvent check) { Object source...); lotFrame.setVisible(true); } public void itemStateChanged(ItemEvent check
question
question  Dear Sir, How do i solve the following problems , i am using jdk1.6.0_22 and eclipse Helios , please help me ................ Access restriction: The type Player is not accessible due to restriction on required
how to solve
how to solve   log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources). log4j:WARN Please initialize the log4j system properly
question
question  good afternoon , i wan't to check username colomn values of employee table is also present in attendance table.for example username john is also in attendance.please give me mysql+jsp code
question
question  Hi good morning Sir, Use grid -That displays employee name,employee_id,status(P/A),check box or Approve button. (Button in each row of the grid and below a button for approving all attendances marked )-using java/jsp

Ads