Command line task for displaying the averages