IM HERE AGAIN

CAN YOU HELP ME PLSS :)

i USEd to make a program that will asked the user to enter 7-digits number

i should determine the largest,smallest,median and the average.Display also the entered number and its equivalent to binary, octal and hexadecimal value

example

THE ouput must be:

largest 7

smallest 1

median 4

average 2.5

you entered********************BINARY******************OCTAL****************HEXA********

****1***************************001**********************1*******************1**********

****2***************************010**********************2*******************2**********

UPTO THE SEVEN DIGITS THAT YOU ENTERED

****7***************************111**********************7*******************7**********

AS OF KNOW I GOT THE BINARY and the seven digit

MY PROBLEM IS WHERE I SHOULD PUT THE OCTAL AND HEXA PLSS HELP

ERROR.CPP