From e397eeb8ef37e88a89c9ea1b90d46a719780e3f7 Mon Sep 17 00:00:00 2001 From: raja004 <44531139+raja004@users.noreply.github.com> Date: Sat, 27 Oct 2018 23:15:52 +0530 Subject: [PATCH] Add files via upload --- A power B.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 A power B.txt diff --git a/A power B.txt b/A power B.txt new file mode 100644 index 0000000..004d47f --- /dev/null +++ b/A power B.txt @@ -0,0 +1,7 @@ +int power(int a, int b) { + int x =1; + while(b--){ + x*=a; + } + return x; +} \ No newline at end of file