The program of conversion

1. Binary to decimal

2. Decimal to binary

3. Hex decimal to decimal

4. Decimal to hex decimal

5. Octal to decimal

6. Decimal to octal

Means at the user's request, for example, the introduction of No. 4

Convert from Decimal to hex decimal

Thus, the rest of the options, preferably without work ARRAYS