Driver code
static public void Main ( ) { String cardNo = "79927398713" ; if ( checkLuhn ( cardNo ) ) Console . WriteLine ( " This ▁ is ▁ a ▁ valid ▁ card " ) ; else Console . WriteLine ( " This ▁ is ▁ not ▁ a ▁ valid ▁ card " ) ; } }