Advertisement
V-blk

Untitled

Jan 17th, 2025
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.27 KB | None | 0 0
  1. // Usage: Parse(10111);
  2.  
  3. public void Parse(int num)
  4. {
  5.     for (int i = 1; i < 6; i++)
  6.     {
  7.         var rem = num % 2;
  8.         num = (num - rem) / 10;
  9.         if (i == 1 && rem == 1) { } //visa or mc
  10.         if (i == 1 && rem == 1) { } //online or offline
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement