Board index » delphi » Simple Pascal Problem
Beginning Programmer
![]() Delphi Developer |
Thu, 11 Mar 2004 03:20:19 GMT
Simple Pascal Problem
Heya Guys,
Was hoping I could get some input on my problem for class. I have to write a program that returns a check character from an integer It is suppose to simulate CreditCard Verification methods, but the class Here is the program in 'PseudoCode' (or a light English Version) Get a 10 digit number from the user OK - Getting the 10 digit number is easy, so is adding it. The Sum MOD 26 But what I need to figure out is the easiest way to break it into pairs. . Also I think I can write the end code like this. . . is this correct? Any Ideas on breaking the 10 digit number up. Thanks in Advance guys! Mike |