Control Flow Challenge Five

Hello! Actually, I didn’t understand what exactly should I do here.

“Given a number, determine the next power of two greater than or equal to that number.” I understand what is the power of two) What does it mean next, next to what? Maybe P.S. English is not my native language.

Hi!
The power of 2 are the numbers 1,2,4,8,16,32,64 and so on. The exercise asks you to find the next power of 2 for a given number.
For example, for the number 5 the next power of 2 is 8. For 55 it’s 64.

I hope this helps.

Eli.

2 Likes