jeudi 10 janvier 2019

MIPS get eight random numbers simultaneously and sum them

HI guys i need help for my assignment for MIPS.

the task is to get 8 random numbers printed simultaneously and then get the sum of these eight numbers and print it underneith.

this is supposed to be a dice game.

so far i got the eight numbers in the output i do not know how to get them all summed:

EXAMPLE: 2,3,6,1,3,5,3,4. The sum of this total “throw” is 27.

please help :/




Aucun commentaire:

Enregistrer un commentaire