Homework 4: Solution

$30.00

Category: Tag:

Description

Write a MIPS code which involves three functions:

    1. main
    2. poly
    3. pow

to compute the value of the polynomial given below for any value of x, as given by the

user.

Your program must pass arguments to functions such as poly and pow and get return values from these functions. The input to the program (which is x) is obtained from the user inside the main function. The final output must be printed in the main function.


error: Content is protected !!