🔒 Closed Marie Simulator Code

Status
Not open for further replies.

Pa help mga idolo kung tama ba tong pagkagawa ko​


Write a MARIE source code that will ask for three decimal values.
It will add the first two inputs and then subtract the third input
from the sum of the first two inputs.

Code:
INPUT
store A
INPUT
store B
INPUT
store C
load A
add B
store D
load D
subtract C
store E
OUTPUT
Halt

A, DEC 0
B, DEC 0
C, DEC 0
D, DEC 0
E, DEC 0
 
Status
Not open for further replies.

About this Thread

  • 6
    Replies
  • 556
    Views
  • 2
    Participants
Last reply from:
jhonphc

Trending Topics

Online now

Members online
1,207
Guests online
2,195
Total visitors
3,402

Forum statistics

Threads
2,288,742
Posts
29,053,838
Members
1,214,248
Latest member
blesu123
Back
Top