Name:
Anonymous
2007-09-28 6:54
ID:uTAkQTIE
The road less traveled is the way to the top.
http://peak.telecommunity.com/
Name:
Anonymous
2007-09-28 8:17
ID:Heaven
someone tell me how fucking ugly this would be in python
boolean bValidNum = (LuhnCheck(cCard.getCardNumber())
&& validateCCNum(cCard.getCardType(),cCard.getCardNumber()));
boolean bValidDate = isValidExpDate(cCard.getDate());
return (bValidNum ? "" : "Invalid Credit Card Number")
+ ((bValidNum && bValidDate) ? "" : " , ")
+ (bValidDate ? "" : "Invalid Expiry Date");