1.Write a function space(x) that can be used to provide a space of x positions between two
output numbers. Demonstrate its application.
2. Use recursive function calls to evaluate
- An n_order polynomial can be evaluated as follows:
P = (…..(((a0x+a1)x+a2)x+a3)x+…+an)
Write a function to evaluate the polynomial, using an array variable. Test it using a main program.
- The Fibonacci numbers are defined recursively as follows:
Write a function that will generate and print the first n Fibonacci numbers. Test the function for
n = 5, 10, and 15.
- Write a function that will round a floating-point number to an indicated decimal place.
For example the number 17.457 would yield the value 17.46 when it is rounded off to two
decimal places.