Computers use the binary system, which is based on powers of 2. Write a program that displays the positive powers of 2. When the user enters the exponent at a prompt, the program displays 2 to that power. The program halts when the user enters –1
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here