...<stdio.h>
int main() {
int a, b;
scanf(" %d %d ", &a, &b);
int ans = 1;
for (int i = 0; i < b; i++) {
ans = ans * a % 10;
}
printf(" %d ", ans);
return 0;
}
```
**Hashtags:**
* #c-programming
* #Math-problems
* #Recursion
* #exponentiation
*...
Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.