Hands On Arrays

Goal

Work with simple Arrays of integers

Step 1

  1. Enter a list of 10 quiz scores in array
  2. Print the list back out.

Step 2

  1. Enter a list of 10 quiz scores in array
  2. Remove the low score
  3. Print the reduced list back out.

Step 3

  1. Enter a list of 10 quiz scores in array
  2. Compute and print the average
  3. Remove the low score
  4. Print the reduced list list back out.
  5. Compute and print the new average

Step 4

  1. Enter a list of 10 quiz scores in array
  2. Remove the lowest 3 scores
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2017-09-28 - JimSkon
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback