kartikeyy31 / simple-program

C++ program to make any number power of two with minimum steps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Assignment 1

C++ program to make any number power of two with minimum steps. Steps required are :

-> erase any digit of the number (it's acceptable that the number before the operation has exactly one digit and after the operation, it is "empty");

-> add one digit to the right.

About

C++ program to make any number power of two with minimum steps.


Languages

Language:C++ 100.0%