VIWII U 3. Factorial Calculation: Using the mul instruction, write a MIPS program that computes the factorial of a number. Ask the user to input the number’ n’ and, Compute the following: P= 4 x (n-1)! . Display the result of computation on the console.. Output:- Page 10 of 12 COMPUTER ORGANIZATION & ASSEMBLY CS203 Tuesday, Nov 19, 2019 Console Enter an Integer ‘n’: 8 The output of P= 4 x (n-1)! is: 20160|| (5 Marks) Show transcribed image text VIWII U 3. Factorial Calculation: Using the mul instruction, write a MIPS program that computes the factorial of a number. Ask the user to input the number’ n’ and, Compute the following: P= 4 x (n-1)! . Display the result of computation on the console.. Output:- Page 10 of 12 COMPUTER ORGANIZATION & ASSEMBLY CS203 Tuesday, Nov 19, 2019 Console Enter an Integer ‘n’: 8 The output of P= 4 x (n-1)! is: 20160|| (5 Marks)

## Expert Answer

Answer to VIWII U 3. Factorial Calculation: Using the mul instruction, write a MIPS program that computes the factorial of a numbe…