next up previous contents
Next: Solution Up: Arrays Previous: Solution

 

Summation Example

Which five consecutive numbers have the greatest sum:

  6.3 7.6 9.2 3.4 5.6 7.23 9.76 6.83 5.45 4.56
  4.86 5.8 6.4 7.43 7.87 8.6 9.25 8.9 8.4 7.23

Go back to Notes gif




next up previous contents
Next: Solution Up: Arrays Previous: Solution

©University of Liverpool, 1997
Thu May 29 10:11:26 BST 1997
Not for commercial use.