Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <math.h>
- int main()
- {
- int r,x;
- scanf("%d", &r);
- x = pow(3,r);
- printf("%d\n", x);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement