Write a program in MARIE assembler that calculates a product (multiplication) of 2 numbers: A=B*C
The program needs to allow for input of 2 decimal numbers (positive or 0 and negative) in the INPUT and output the product of multiplication in the OUTPUT window.
Program must include:
1. Basic logic for positive integer numbers > 0:
2. Include logic to calculate the product if either or both numbers are 0:
3. should be able to multiply negative numbers.
4. Should work if the first input is negative or zero. Or if the second number is negative or zero
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here