473,394 Members | 1,770 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How to proceed with this task

1
Hello everyone! I have a task to create a console app in C# that is due tomorrow so I need some help. It requires me to create a program that will accept a text file as an input. It has this format: 143, 12, 2013-11-01, 2014-01-05 (employeeID, projectID, DateFrom, DateTo)
I have the following code that prompts the user to enter the path of the file. Now I need to create a code that finds and displays the pair of employees that have worked for longer in the same project. For example you may have a file (similar to the pic provided below). Some employees have the same project ID and I need to calculate which pair has worked for longer at the same project. This is supposed to be beginner level (my level) and I find it a bit difficult. I am asking for a pseudocode or a set of steps that I can follow in order to finish the task. If you could give me some steps about what to do next, that'd be very helpful and appreciated. Thank you!
Attached Images
File Type: jpg file.jpg (23.4 KB, 94 views)
File Type: jpg code.jpg (30.0 KB, 64 views)
Oct 23 '19 #1
0 1645

Sign in to post your reply or Sign up for a free account.

Similar topics

29
by: asj | last post by:
Can you guess what this is? http://www.blueboard.com/phone/apache_sept_2003.gif It's a history of the IIs "Titanic", which is being slowly and painfully sunk by the open source Apache web...
7
by: Konrad Viltersten | last post by:
I have a project that resulted eventually in a few tousands of HTML-files on the following form. file name: F1717.HTML ---------------------------- <html> .... <h1>Text to the...
6
by: jadionne | last post by:
I have a command script running the the Task Center that I beleve is a run away command. I dont see a connection to the DB for this application. I also dont see a "STOP" command in the Task...
1
by: Anonieko | last post by:
How do you run a long running task in ASP.NET in thread and avoid multiple instances of this task from running? I saw a solution somewhere but do you have a better one? publicvoid...
1
by: Myster Edd | last post by:
I have a strange problem that I think deals with security on SQL 2005. I have a scheduled task that runs on a Windows 2000 machine. It calls a vb script which creates a connection to SQL Server. ...
1
by: jiaudheen | last post by:
i have admin login form and status updation form. the admin get logged in and the update the status of the the customer smart card. the status page have a gridview which is bound to sqldatabase...
1
by: qwertycat | last post by:
I have an IQ of a donkey, I'm sure the below code can be done a different/more intelligent way. It should download headers in chunks of 5000, rather than all 2 million in one go: $Newsgroup_Data...
0
by: Rahul | last post by:
Hello, Is it possible (by code) to set a timer and "force" the computer to wake up from hibernation/standby/sleep mode (either at specific time... or after specific interval) through C# code? ...
2
by: itsvineeth209 | last post by:
My task is to create login control without using login control in tools. I shouldnt use sqldatasource or any other. I should use only data sets, data adapters and data readers etc. U had created...
9
by: fool1 | last post by:
Produce JavaScript code (and any necessary HTML) that will perform the following functions: 1. Using the prompt and alert functions, invite the user to input 5 marks (integers) in the range 0–100....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.