Print the percentage of completion of a process. The percentage written last will be deleted and the current will be printed on the same location. The number printed will be counter/max*100