A short value is stored in 16 bits. Write a program that prompts the user to enter

Question:

A short value is stored in 16 bits. Write a program that prompts the user to enter a short integer and displays the 16 bits for the integer. Here are sample runs:

image

image

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: