Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Marie Simulator

Ok cna someone break how to write this for a Marie Simultor...Please, Step by Step, so i better understand what to do...Thank You

Input a number
If number >10 then
number = number -5
Else
number = number + 3
Endif

This is what I did
Org 100
Input
Store X
Skipcond 010
Jump Else
Sudt 5
Jump endif
Else, Add 5
Endif, Halt
X, Dec 0

Please, tell me what I did wrong I am lost. Please, break it step by step for me!!!

Thank You in advance!!!

Comments

Sign In or Register to comment.