From the enclosed text file, calculate the total price change (percent) of each stock for the period of the last four days of each month and the first two days of each month. Report the total price change of each stock for these combined six days for all monthly periods. Finally,list the top 5 stocks ranked by the highest total percent profit during these six days for all monthly periods. Print results to a new text file in a well organized way. Write your program in Vbscript, C, C+ ++ or C#.
从封闭的文本文件中,计算每月的头两天和每月最后4天的总价格变动(百分比),对每只股票的总价格在这6天内发生的变化进行报告,最后,列出这期间利润百分比排名前5名的打印到一个新的文本路径,你可以用VBSciprt,C, C++或者C#来写你的程序英语一般。。见笑了
英语不好,不知我是否翻译错