Skip to main content

Section 9.14 Arrays-WE5-P1

Subsection 9.14.1 Subgoals for Evaluating Arrays

  1. Set up array from 0 to size-1
  2. Evaluate data type of statements against array
  3. Trace statements, updating slots as you go
    1. Remember assignment subgoals

Subsection 9.14.2 Arrays-WE5-P1

Exercises Exercises

Put the following code in order to create a program that will declare and instantiate an array of 10 random values between 1 and 100 and then find the maximum value in the array.
You have attempted of activities on this page.