Question: Code must be in MIPS Assembly : Description: Write a complete program that prompts the user for the coefficients a , b , and c
Code must be in MIPS Assembly :
Description:
Write a complete program that prompts the user for the coefficients a b
and of a quadratic equation and outputs the solutions as
shown. discriminant
Must use double precision floating point.
Required I:
Quadratic Equation Solver v by F Last
Enter value for a ##
Enter value for b ##
Enter value for ##
I is a blank line. F Last is your first initial and last name, ## is user input.
If && :
Not a quadratic equation.
If discriminant :
Roots are imaginary.
Otherwise
##
##
## are replaced with calculated roots
Hints:
pseudocode:
if a
if b
not quadratic
else
x c b
one answer x
d bac
if d
imaginary
else
compute x and x
two answers x and x
plz include a screenshot of the IO if possible
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
