+ 6
I want to print that the number entered by user is power of 2 or not. But its not happening. In C language.
When I enter number 10 then also it prints that "10 is power of 2". Please tell me what is my mistake. https://code.sololearn.com/c7reUBPXU5Ju/?ref=app
1 Odpowiedź
0
Pretty nice, Bennett Post. I'll keep that method in mind.