rahul madarapu

rahul madarapu

  • NA
  • 1
  • 1.6k

About LHUN Algorithms

Sep 4 2013 8:00 AM
What is LHUN Algorithm?
How to check the valid credited card using LHUN.

Ex:       1 2 5 4   -  1 2 3 4 - 1 2 3 4 - 1 2 5 4
     
            4 5 2 1  -  4 3 2 1 - 4 3 2 1 - 4 5 2 1
                 
                  6     +       4      +     4   +     6

                              = 20

If(20/10==0)
It is a valid card  Process?

Is that one is right justify how?


Answers (1)