Have you seen the progress bar on windows, that shows estimated time left for transferring your file to external hard disk? Design a class/function to display that time. Given hard disk file transfer rate and a function to measure how much many bytes of the file have actually been transferred.