Marie Simulator

Closed Posted 6 years ago Paid on delivery
Closed

Write a Marie program that will input two decimal integers, A and B, where A is not greater than 94 and B is not greater than A. Only one ‘Input’ statement allowed for each variable! Note that it is OK for A to equal B! Then ADD 4 to B giving S. If S is EVEN, do not change it. If S is ODD, add 1 to make it an even integer.

Now subtract S from A giving the value N. Output A, B, S and N on separate lines. Repeat the loop until ‘0’ is entered for A, then Halt. (Do not ask for B, or do the calculations for S and N, or output anything if A=0!

Assembly

Project ID: #16497299

About the project

3 proposals Remote project Active 5 years ago

3 freelancers are bidding on average $19/hour for this job

xaainulabideen

A proposal has not yet been provided

$16 USD / hour
(8 Reviews)
4.0
duttasaumya

A proposal has not yet been provided

$15 USD / hour
(0 Reviews)
0.0