cancel
Showing results for 
Search instead for 
Did you mean: 

Awesome Alan

Vito Sarducci
Regular Advisor

Awesome Alan

Alan,
Your right on, except im missing one totals column from the AVE: output. Here is what your script produces;

Average 17 7 7 69
Average 18 7 7 68
Average 18 8 8 66
Average 18 7 8 66
Average 18 7 9 65
Average 14 5 8 73
Average 13 5 7 76
Average 19 7 8 66
Average 19 7 8 66
Average 17 7 8 68
Average 19 7 8 66
Average 18 7 8 67
Average 12 5 8 75
Average 12 4 6 77
Average 16 7 7 70
Average 17 7 7 68
Average 17 7 8 68
Average 19 7 8 66
Average 17 7 7 69
Average 13 5 8 75
Average 11 5 6 78
Average 17 7 8 69
Average 17 7 8 69
Average 21 14 7 58
Average 26 17 7 50
Average 23 17 7 53
Average 17 15 8 61
Average 15 15 6 63
Average 21 18 7 54
AVE: 17.206897 8.448276 7.482759

there seems to be a column missing in the AVE: totals.

Vito
Lifes too short to stress out, Enjoy every day you have on earth!
2 REPLIES
Vito Sarducci
Regular Advisor

Re: Awesome Alan

Alan,
What is that final printf command missing? Im not sure...
Lifes too short to stress out, Enjoy every day you have on earth!
Alan Riggs
Honored Contributor

Re: Awesome Alan

It just needs one more " %f" inside the quotes. You might want to use %4.1f (or some other formating choice) for each of those %f entries..