Saturday Questions-24-Sep-2022. Questions on Number Conversion
Saturday Questions
Questions on Conversion
- Write a program to convert decimal to binary and back.
- Write a program to convert decimal to octal and back.
- Write a program to convert decimal to hexadecimal and back.
- Write a program to multiply binary, octal and hexadecimal.
- Sort arrays of binary, octal and hexadecimal.
- Write a program to convert binary to hexadecimal and octal, also do the back conversion.
- Count the number of ones in a decimal number by treating it as binary.
0 Comments