Question: 9. Draw a flowchart to find the maximum value and the minimum value of a list of N numbers, where N >= 1. Identify the

9. Draw a flowchart to find the maximum value and the minimum value of a list of N numbers, where N >= 1. Identify the basic control blocks in your flowchart.

10. Draw a flowchart to find the maximum value and the minimum value of a list of positive numbers, where -1 indicates the end of the list. Identify the basic control blocks in your flowchart.

For question 9, we know that the list contains N elements. (Usually, the first number is the number of elements in the list and is followed by the elements of the list.)

For question 10, we do not the number of elements in the list. In this case, we need an end of list tag (e.g., in the question, the end of the list is -1.)

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!