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 Points Following all the Marie Coding Rules, write a single Marie Subroutine that will multiply two positive variables: MP and MP and place the positive result in PROD 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. MP may be Halt the program only when MP is zero, and do not ask for MP Upload your program named: PROGmax to the Assignment dropbox. Sample Output: Decimal Marie setting for Input and Output!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
