Topic: Language Problem / Level: beginner

Problem: Write a program to calculate the number of bits needed to represent an integer.

Run the code to see the output here...