Using whatever programming language is appropriate for you, write a program that converts a whole number input

Question:

Using whatever programming language is appropriate for you, write a program that converts a whole number input by the user from base 8 to base 10. Your program should flag as an error any input that contains the digits 8 or 9.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer: