Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter
Originally posted by Craig Tyler:
In addition with what Garrett said about explicitly casting one of the operands to use floating point division, your actual division is the wrong way around. To get an average, you need to divide the totalCost by the size of the completedList.
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter