Question

I need help creating this program in the MARIE coding language

I am unsure on how to do this code in MARIE,     I  have tried many things but they do not work with negative numbers, only positive, I would like help with creating the whole thing in order to understand where I was going wrong. Let me know if anything else is needed.marieprog5.PNG

0 0
Add a comment Improve this question Transcribed image text
Request Professional Answer

Request Answer!

We need at least 9 more requests to produce the answer.

1 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the answer will be notified once they are available.
Know the answer?
Add Answer to:
I need help creating this program in the MARIE coding language
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • I am creating a recursive function in c++ and have the following code so far. However,...

    I am creating a recursive function in c++ and have the following code so far. However, can you help me fix it so that it doesn't crash when negative numbers are entered. If negative numbers are entered i want to let the user know negative numbers are not accepted and to try again #include <iostream> using namespace std; int multiplication(int x, int y) { int sum = y; //if value of x is 1, then result of x*y will be...

  • I need help creating a concept map using 1-heptyne. This is the first time that I...

    I need help creating a concept map using 1-heptyne. This is the first time that I have ever needed to create one for chemistry, and I’m not exactly sure how to do it. I have to use these reactions: Alkylation Other SN2-like processes Elimination Nucleophilic addition to polarized π bonds Hydrogenation Electrophilic addition of HX Electrophilic halogenation Ozonolysis Nucleophilic addition For those who do respond, could you please explain how you went about creating the map? I have a feeling...

  • Marie Assembly Language

    Assembly (MARIE), how can I output my input variables on exit?I am trying to compose an assembly (MARIE) program to output my input variables **on exit**. I am triggering an exit when . (period) is entered. I am transforming the input, and to later display the new value on exit.Some context, FOO will return SBB when ran through Rot-13However, my program is displaying the output on each iteration of my loop. I am instead wanting to not display anything, until . is entered...

  • I would like to have a better understanding of how to do Fourier transformations on Matlab....

    I would like to have a better understanding of how to do Fourier transformations on Matlab. If this is possible. Please show me how to: 1. have Matlab FIND the Fourier transformation of the two functions above. They do not have to be in the same program or anything. I just want to understand the syntax and semantics better. 2. THEN plot the Fourier transform that you found VIA MATLAB. The main thing that I am trying to do is...

  • How do I know which reaction to use for alcohols, ethers and epoxides? If somebody could...

    How do I know which reaction to use for alcohols, ethers and epoxides? If somebody could please explain,, I would be SO appreciative. We just finished sn1, sn2, e1 and e2 reactions and I understand which reaction to use since we had a chart. No chart this time and I am lost. The reactions include, dehydration, Williamson ether, e1, e2, sn1, sn2 and please let me know if I'm missing anything else. Thank you!  

  • I need help on creating a while loop for my Java assignment. I am tasked to...

    I need help on creating a while loop for my Java assignment. I am tasked to create a guessing game with numbers 1-10. I am stuck on creating a code where in I have to ask the user if they want to play again. This is the code I have: package journal3c; import java.util.Scanner; import java.util.Random; public class Journal3C { public static void main(String[] args) { Scanner in = new Scanner(System.in); Random rnd = new Random(); System.out.println("Guess a number between...

  • Hi I need some help with this I just need the code and the collection name...

    Hi I need some help with this I just need the code and the collection name is research only the code I dont need any screenshots of the output. it should be for companies.json using the research collection as like this db.research.aggregate({}) but I don't know how to do the rest. This is the database but it is hard to paste it all so I will paste some and it should be create. Please I need this to be done...

  • Hi, I need help understanding a concept in my Assembly Language (MIPS) class. Can someone please...

    Hi, I need help understanding a concept in my Assembly Language (MIPS) class. Can someone please explain the following to me: 3) Implementing Control Structures – Know how to write if-then or if-then-else equivalent statements in assembly as well as loops. This is a concept that is going to be asked on my exam. There's no real solution to this question, but I will rate whomever helps me understand this material. An example would be GREATLY appreciated.

  • Write a MARIE program to calculate some basic statistics on a list of positive numbers. The...

    Write a MARIE program to calculate some basic statistics on a list of positive numbers. The program will ask users to input the numbers one by one. Assume that all numbers will be in the range 1 to 1000. To terminate the data entry, user will input any negative number. Once the data entry is complete, the program will show four statistics about the list of numbers: (1) Count (2) Minimum value (3) Sum of numbers (4) "Mean/Average" calculation. As...

  • IMPORTANT: I don't need help with "a". However, I do need help with b&c IMPORTANT: I...

    IMPORTANT: I don't need help with "a". However, I do need help with b&c IMPORTANT: I understand that there's a walkthrough given bellow. However, I do not understand the walkthrough given for b&c. Part B - Why does E(x)+E(y)=2u (2 mew)? -What is this?: I honestly have no idea what it is. Please explain to me what it is and what its significance is within the problem. -This may be the same thing as the symbol above, but just in...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT