From 1de546820067e0a3cd2ac45810d9918989d9879b Mon Sep 17 00:00:00 2001 From: Neha Hasija Date: Mon, 19 Oct 2020 01:13:18 +0530 Subject: [PATCH] Update math/power_of_two.cpp Co-authored-by: David Leal --- math/power_of_two.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math/power_of_two.cpp b/math/power_of_two.cpp index c36bcf3e1..3d5edf931 100644 --- a/math/power_of_two.cpp +++ b/math/power_of_two.cpp @@ -47,7 +47,7 @@ void power_of_two(int n){ * @returns 0 on exit */ int main() { - int n; + int n = 0; ///n stores the input from the user std::cout<<"enter a number "<>n;