I wrote the program in C++ (works perfectly), and I've been trying to translate it, but the online tutorials aren't very good. So here's one thing I find difficult to translate:
Expand|Select|Wrap|Line Numbers
- int array[8]={0};
- for (int i=0; i<8; i++)
- {
- cout << "Input number " << i+1 << ": ";
- cin >> array[i];
- }
In my C++ code, I used a bubble sort, but MIPS is too confusing for me, and it seems like bubble sorting is overly complex in MIPS.
Thanks in advance!