Question: 1 . 7 Lab Exercise 1 a: Write an algorithm Before you write any code ( in C + + ) , you need to
Lab Exercise a: Write an algorithm
Before you write any code in C you need to write the algorithm in English. The algorithm is the description of the problem and desired solution. It must include a list or description of the input if there is any, such as something the user types output usually what will be printed onscreen, though it might be also written to a file and the steps to create the output.
For this exercise, add comments to the top of the program below, describing an algorithm for sorting a random stack of paper money, to increasing in value top to bottom. Each line of comment must begin with Ignore the code in the program below, but don't delete it Be sure your comment algorithm includes the following lines, which should begin with the first word in each line below, and replace the underscore with your description of each item for this problem:
input:
output:
steps: The first is given for you below:
pick up a bill and determine its value
qxzqy
LAB
ACTIVITY
: Lab Exercise : Write an algorithm
etc...
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
