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.
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.
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 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...
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. 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...
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 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.
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...
basic stamp 2.0 please what code or what should i look for in creating a code for a cocktail maker with two glasses options to serve basically a code that will allow me to put in the exact amount of drink into a customers desire glass. i already made the actual physical item with some components BUT now i need a code and we are required to use only basic stamp sofware ONLY just provide with code!!! OR what should...
Thank you to the ones who have tried to help me and I apologize for having to repost this question. I'm having a hard time trying to comprehend coding. I am supposed to code a joke and punchline. The joke is:"why did the chicken cross the road?" And the punchline is: "The hen got on its nerves." Or any answer will do actually. I have two labels and one button to make it run. If anyone can help me understand...
I need help creating a Mean Filter for Matlab 3 by 3. ( I need the Actual Matlab WORking code) It's dude tomorrow, final project worth 40% of my grade. It can not use Matlab Function, must be user define fuction. So far what I have is, I am not sure how to start this, I was told it requires 2 for loops A= imread('lena_256.tif'); % Reads the image in matrix M = ones(3,3)/9; % Creates a matrix of 3...