Question: Write an algorithm ( using informal pseudo code or an ordered series of steps ) that gets a number and then produces another number with

Write an algorithm (using informal pseudo code or an ordered series of steps) that gets a number and then produces another number with reverse order. For example, the following shows a series of correct inputs and expected outputs:
Original Number
Expected Result
12365
56321
7601
1067
980
089
You should format your algorithm in numbered steps. For example something like
Get a value
Do something to it
Do something again until
Output something else
Write out a trace table to test your algorithm for input 7601. Remember, trace tables were briefly described in class, and describe What is done at each numbered step of the algorithm, what each stored value is after that step and any outputs produced in that step.

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!