Write a program that inputs a decimal number and converts it in to binary, octal and hexadecimal and display it as the format given below
Decimal Binary Octal Hex Base-10 Base-2 Base-8 Base-16
8 1000 010 8 9 1001 011 9 10 1010 012 A 11 1011 013 B 12 1100 014 C 13 1101 015 D 14 1110 016 E