Driver code
static public void main ( String [ ] args ) { String cardNo = "79927398713" ; if ( checkLuhn ( cardNo ) ) System . out . println ( " This ▁ is ▁ a ▁ valid ▁ card " ) ; else System . out . println ( " This ▁ is ▁ not ▁ a ▁ valid ▁ card " ) ; } }