Guest User

talha

a guest
Oct 14th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.18 KB | None | 0 0
  1. // 05 no.
  2. #include <stdio.h>
  3. int main()
  4. {
  5.     int n,i,p,mul=1;
  6.     scanf("%d%d",&n,&p);
  7.     while(p>0)
  8.     {
  9.         mul=mul*n;
  10.         p--;
  11.     }
  12. printf("%d\n",mul);
  13. }
Advertisement
Add Comment
Please, Sign In to add comment