title: Find Unit Digit X Raised Power Y
signature: findUnitDigitXRaisedPowerY :: Integer -> Integer -> Integer
  findUnitDigitXRaisedPowerY x y = 
source_py: def find_unit_digit_x_raised_power_y(x, y):
      res = 1
      for i in range(y):
          res = ((res * x) % 10)
      return res
source_cpp: int find_unit_digit_x_raised_power_y(int x, int y) {
    int res = 1;
    for ( int i = 0;
    i < y;
    i ++ ) res = ( res * x ) % 10;
    return res;
  }