Chapter 5: Problem 18
\((\text {Number Systems Table})\) Write a program that prints a table of the binary, octal and hexadecimal equivalents of the decimal numbers in the range \(1-256 .\) If you are not familiar with these number systems, read Appendix D, first. [Hint: You can use the stream manipulators dec, oct and hex to display integers in decimal, octal and hexadecimal formats, respectively.]
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.