Question: Your algorithm: Must be unambiguous (exact)are the steps numbered? do we always know where to go next or are we left hanging? Must be correct

Your algorithm:

Must be unambiguous (exact)are the steps numbered? do we always know where to go next or are we left hanging?

Must be correct (solves the problem)are the requirements being met?

Must come to an end (terminate)how do we know when to end this?

Must be general (for all cases).can we input any data & still solve the problem?

Must be at the right level of detail.will a computer (in general) understand what we are asking it to do?

Requirements --> A vendor at the Farmers' Market sells Saratoga melons and local apples. The melons sell for $4.50 each and apples are $.25 each. Your solution to this problem should get from the user the numbers of melons and apples he/she wants and outputs the total amount of money they owe.

Attach your solution.

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!