Question: Hi! I recently wrote a factorization program in MIPS (shown below in the picture), and I was hoping to modify the program to output the
Hi! I recently wrote a factorization program in MIPS (shown below in the picture), and I was hoping to modify the program to output the factorization using exponents.
For example, if the number 150 is the input, the output is currently 2*3*5*5. I would like the output to be 2*3*(5^2). I also don't want to output exponents which are 1, so the factorization of 4410 would be (2)(3^2)(5)(7^2).

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
