Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

COMPUTER ORGANIZATION AND ARCHITECTURE Using the above Marie Instruction Set to

ID: 3935718 • Letter: C

Question

COMPUTER ORGANIZATION AND ARCHITECTURE

Using the above Marie Instruction Set to implement the following algorithm:
code the following:
Input a number in decimal from the keyboard store the number in location X
Input a number in decimal from the keyboard store the number in location Y If X < 0 then X = X + 6 Else X = Y + X Endif Display X using the output instruction (make sure your Input and output Window is set to Dec when testing the program)
At the end of the program after the Halt instruction, define X, Y and set both to 0. Define another variable to hold the 6

Explanation / Answer

my input = raw_input()

What are you waiting for?

Print my_input

What are you waiting for?

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote