Recent content by tpluscomb
-
T
MIPS program which reads in a sequence of numbers entered by the user
I believe it's to change the character to an integer- tpluscomb
- Post #7
- Forum: Programming and Computer Science
-
T
MIPS program which reads in a sequence of numbers entered by the user
The user enters a buch of integers separated by spaces. Then we are suppose to read it in as a string, go character by character and determine if it's a space or a character. If it a character we are suppose to take that character mutiply it by 10 and then add the next charater, and keep doing...- tpluscomb
- Post #5
- Forum: Programming and Computer Science
-
T
MIPS program which reads in a sequence of numbers entered by the user
The mutiplication is used to change the number, which is read in as a character, to an actual number so that you can sum it. For instance if the first number was a 24 you would read in the 2, mutiply it by 10 to make it 20 and then add the next number, 4, to get 24.- tpluscomb
- Post #3
- Forum: Programming and Computer Science
-
T
MIPS program which reads in a sequence of numbers entered by the user
I've been working on a program which reads in a sequence of numbers entered by the user. It's read in as a string and then converted to numbers. Then I am suppose to get the sum of those numbers and report it back. I got most done and I know I'm close (hope!) but I am stuck at trying to get the...- tpluscomb
- Thread
- Mips Numbers Program Sequence
- Replies: 7
- Forum: Programming and Computer Science