Question: Write the code in Easy68k, NOT C++ Write a program in Easy68K to fulfill the following functions: Repeat the following steps 10 times using a

Write the code in Easy68k, NOT C++

Write a program in Easy68K to fulfill the following functions:

Repeat the following steps 10 times using a loop

Read a number from the input.

Add the number to the accumulator (Hint: the initial value for the accumulator should be 0).

Show the accumulator value (i.e. total sum) in the output.

The output cab be like this:

Please input a number: 7

Please input a number: 3

Please input a number: 2

Please input a number: 0

Please input a number: 1

Please input a number: 2

Please input a number: 5

Please input a number: 4

Please input a number: 6

Please input a number: 8

Total sum is: 38

Thank You :)

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 Databases Questions!