Write a program that converts a quantity in bytes to a quantity in bits.
The input contains several lines each with one integer n where 0 ≤ n < 65 536.
Each line of output should contain a corresponding integer m indicating how many bits are there in n bytes.
2 360 1024
16 2880 8192
try also: bits2bytes
try next: kilobytes
Copyright © 2020-2021 Rudy Matela
All rights reserved