Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Usage: Parse(10111);
- public void Parse(int num)
- {
- for (int i = 1; i < 6; i++)
- {
- var rem = num % 2;
- num = (num - rem) / 10;
- if (i == 1 && rem == 1) { } //visa or mc
- if (i == 1 && rem == 1) { } //online or offline
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement