From 085c6943a0c860cd051f2556c6791df4e7cf46ac Mon Sep 17 00:00:00 2001 From: Mann Mehta <44433995+mann2108@users.noreply.github.com> Date: Thu, 2 Apr 2020 04:37:16 +0530 Subject: [PATCH] resolve else clause braces error --- math/binary_exponent.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/math/binary_exponent.cpp b/math/binary_exponent.cpp index 8f7a90ca8..5c71ca97c 100644 --- a/math/binary_exponent.cpp +++ b/math/binary_exponent.cpp @@ -16,8 +16,7 @@ int binExpo(int a, int b) { int res = binExpo(a, b/2); if (b%2) { return res*res*a; - } - else { + } else { return res*res; } }