mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-08 15:14:01 +08:00
Update math/power_of_two.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -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 "<<std::endl;
|
||||
std::cin>>n;
|
||||
|
||||
Reference in New Issue
Block a user