Search:

Type: Posts; User: stahta01

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    990

    The function findAverage has the magic number 50...

    The function findAverage has the magic number 50 in it; this is poor style and design.

    http://en.wikipedia.org/wiki/Magic_number_%28programming%29#Unnamed_numerical_constants

    Tim S.
  2. Replies
    8
    Views
    990

    You initialize highestValue and lowestValue to a...

    You initialize highestValue and lowestValue to a junk value in the first position of the array.

    Note: Having highestValue and lowestValue as Global Variables is also poor style/design.

    Note:...
Results 1 to 2 of 2