Question: Problem Solving - Multiply Subroutine 2 0 0 Points Following all the Marie Coding Rules, write a single Marie Subroutine that will multiply two positive

Problem Solving - Multiply Subroutine 200 Points Following all the Marie Coding Rules, write a single Marie Subroutine that will multiply two positive variables: MP1 and MP2 and place the positive result in PROD1. Note: Use these variable names in program. NOTE! One or both Input variables may be negative! Write a Marie program to input the two variables, determine their sign, force them to be positive and keep track of how many variables are negative. If only one variable is negative, the result is negative! Then place the variables in the subroutines 'input' variables. 'Call' the subroutine, get the result, and Output the result. MP2 may be 0! Halt the program only when MP1 is zero, and do not ask for MP2! Upload your program named: PROG5.max to the Assignment dropbox. Sample Output: ('Decimal' Marie setting for Input and Output!)1210120121

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!