如果那里有人请求帮助,请尽快帮助 [英] need help with this ASAP if theres anbody out there pleas help

查看:53
本文介绍了如果那里有人请求帮助,请尽快帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

kevin075 需要设计和编写一个C#控制台应用程序(任何其他应用程序是自动失败!!),它将分析输入文件(InputFile。文本);该文件包含每行的日期。您的算法应输出所有丢失的日期,不包括星期六和星期日。你不应该迎合公众假期。另请注意:每个闰年(每4年)包含2月29日的额外日期。闰年:2000年,2004年,2008年,...



您的结果还应输出日期范围而不是每个日期;如果缺少多个并发日期。例如:如果您缺少2008/02 / 03,2008 / 02/04和2008/02/05,则应输出2008/02/03 - 2008/02/05。



您的输出应写入文件(OutputFile.txt)。将使用您的名称在本地驱动器上创建一个文件夹,该文件夹应包含您的所有解决方案和源文件,以及您的输出文件。

You are kevin075 is required to design and write a C# console application (Any other application is an automatic fail!!) that will analyze an input file (InputFile.txt); the file contains a date on each line. Your algorithm should output all the missing dates, excluding Saturdays and Sundays. You should not cater for public holidays. Also keep in mind: each leap year (every 4 years) contains an extra date for February 29th. Leap years: 2000, 2004, 2008, …

Your results should also output a date range instead of each individual date; if there is more than one concurrent date missing. For example: if you are missing 2008/02/03, 2008/02/04 and 2008/02/05 you should output 2008/02/03 – 2008/02/05.

Your output should be written to a file (OutputFile.txt). A folder will be created on the Local Drive with your Name, this folder should contain all your solution and source files, as well as your output file.

推荐答案

我们这样做不做你的功课:这是有原因的。它就是为了让你思考你被告知的事情,并试着理解它。它也在那里,以便您的导师可以识别您身体虚弱的区域,并将更多的注意力集中在补救措施上。



亲自尝试,你可能会发现它不是和你想的一样困难!
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think!


这篇关于如果那里有人请求帮助,请尽快帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆