p>MARIE Program 1
First, write a subroutine that, when sent a value, will triple that value. Then write a complete assembly program (using that subroutine) to allow the user to enter four grades.
Assume that the last grade is a final exam grade and counts three times as much as the first three. Display the overall sum (including the last grade three times) and the average (sum/6).
MARIE Program 1
Write a MARIE subroutine that will multiply two numbers by using repeated addition. For example, to multiply 2 x 8, the program would add 8 to itself twice (if the larger of the two numbers is chosen to be added to itself, the subroutine will run more quickly). Then, write a MARIE program to raise an integer to a given power, using the subroutine.
MARIE Program 1
Write a MARIE program to sum the numbers 1 + 2 + 3 + 4 + … + N, where the user enters N.
MARIE Program 1
Write a MARIE program that will sum numbers as the user enters them, which prints the running sum and the final sum. The user should enter a zero to terminate the program.