Given an integer, , print the following values for each integer i from 1 to 10:
- Hexadecimal (capitalized)
Complete the print_formatted function in the editor below.
print_formatted has the following parameters:
- int number: the maximum value to print
The four values must be printed on a single line in the order specified above for each i from 1 to number. Each value should be space-padded to match the width of the binary value of number and the values should be separated by a single space.
A single integer denoting n.