We were given the sample output for the question:
- OUTPUT -
Please enter your Octal number: 416
Octal 416 is equal to Decimal 270
- END OUTPUT -
Do I need to use array?
I was able to solve this but i have to enter one number at a time (entering '4' and press 'Enter' - entering '1' and press 'Enter') which means my number will looks like this in output:
Please enter your octal number: 4
Octal 416 is equal to Decimal 270.