Question: Question 5 ( 1 0 pts ) Program Define the variables A , B , C ( Specifically these names ) Get two integers A

Question 5(10 pts)
Program
Define the variables A, B, C (Specifically these names)
Get two integers A and B (user inputs)
Calculate/output the multiplication C = A/B using a subroutine based on the "JnS" instruction.
A subroutine reads A and B and generates C.
Create a flow chart using lucid chart
Write C code (Q5.c)
Make its screenshot
Write a Marie program (Q5.mas)
Make its screenshot
You should include at least 3 lines of comments in each program.
Hint: You need a loop of subtractions.
Test case: (grading may use a different value)
6(a user types it)
3(a user types it)
2(output printed)
Submission files:
Q5.c
Q5.mas
I DO NOT NEED THE C CODE OR THE FLOWCHART I ONLY NEED THE MARIE CODE! EVERYTIME IM DOING IT IM GETTING STUCK IN A INFINITE LOOP PLEASE HELP!!!!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!