HI, i have a great problem. i must resolve this problem but i don't know how i can make it.
Question: Write a function that given a number expressed in any basis (less than 10), executes the
conversion of number in base 10, using the formula Horner. Data structures required: The number to convert is contained in a dynamic array: each element of the array.
contains a figure, in the order Cn-1,Cn-2,C1,C0 . We also know the size of the array. Additional Requests: Write a short main program.
Most people on this forum won't answer homework questions for you at this broad level.
Questions you need to be asking:
What parameters do I need in this function?
What return type?
What data type should be stored by the array?
How can I express the process (to convert a number to base 10) in 'pseudo-code'?
Try and answer these questions for us. Don't be afraid to get them wrong. We'll help you after we see your attempt.