well me and my friend split the program, he is in charge of that part. is it necessary to know how the will be read?, we talked about reading them and saving them in memory but am still unsure how it is going to happen.
i know i how to generate random numbers using li v0 42, and the words are suppose to be stored in a text document, but with the first subroutine mips suppose to read them, my problem is how to pick a random one.
Ok so me and a my group are writing a hangman program in mips, we came up with the idea of dividing the program to 3 subroutines 1 that reads and writes to a file, one that picks a random word from a word bank in the text file i guess, and one that does the rest like getting the word replacing...
This is the program i was asked to do
Write two subroutines, one iterative and one recursive, that gets an unsigned integer as argument and returns the sum of all decimal digits in the integer. For example if the argument is 75080 then the sum to be returned is 20 (7+5+0+8+0). Write a main...