Answered step by step
Verified Expert Solution
Question
1 Approved Answer
! ! PLEASE SOLVE WITH C LANGUAGE!! In this assignment, you are going to write a C program that reads, processes, and displays attendance records
PLEASE SOLVE WITH C LANGUAGE!! In this assignment, you are going to write a C program that reads, processes, and displays attendance records in a Zoom meeting report provided as a txt file.
Getting to know input file:
A sample Zoom meeting report inputtxt isName,Email,Join Time,Leave Time,DurationMinutes
Feyza Nur Duman,fnur.duman@tedu.edu.tr::::
Eda Nur YILMAZ,enur.yilmaz@tedu.edu.tr::::
Serhat Gokhan YAMAC,sgokhan.yamac@tedu.edu.tr::::
Duru Yamac,,::::
Asya Hale Gencel,ahale.gencel@tedu.edu.tr::::
Eda Nur YILMAZ,enur.yilmaz@tedu.edu.tr::::
Taner Ceyhun,tanerceyhun@tedu.edu.tr::::
Sevil TERZI,sevil.terzi@tedu.edu.tr::::
Taner Ceyhun,tanerceyhun@tedu.edu.tr::::
Ilhan Tekin,,::::
Aytekin Safak,,::::
Sevil Terzi,,::::
Sevil TERZI,sevil.terzi@tedu.edu.tr:::: given as follows: The first line of the input file is a header line which includes title of each column of the data file:
Name: Name & surname
Email: Email address
Join Time: Date and time when participants join the meeting
Leave Time: Date and time when participants leave the meeting
Duration: Duration in terms of minutes passed between join and leave time
Each of the remaining lines includes a record for a connection of an attendee to the meeting where attendees are uniquely recognized by their name & surname. Name of an attendee might include more than one word but surname is always a single word at the end of name & surname.
Name & surname refer to the same attendee if they are the same without considering uppercaselowercase distinction of the letters. For example:
Eda Nur Yilmaz and EDA NUR YILMAZ refer to the same attendee. Eda Nur Yilmaz and Eda Nur YILMAZ refer to the same attendee.
Of course, order and number of the words in name & surname matters. For example:
Eda Nur Yilmaz and Nur Eda Yilmaz refer to different attendees.
EDA NUR YILMAZ and EDA YILMAZ refer to different attendees.
Assume that there is a single space character between words in name & surname column of input file. For example:
EDA NUR YILMAZ and EDANUR YILMAZ refer to different attendees.
Of course, if there is a difference between surnames or names, they refer to different attendees. For example:
EDANUR YILMAZ and EDA YILMAZ refer to different attendees.
EDA YILMAZ and EDA YILMAZCAN refer to different attendees.
Notice that it is possible that email address is not provided in some records.
Also, notice that there might be more than one record for some of attendees as they leave and join the meeting multiple times. Assume that there is no time overlap between multiple connections made by each attendee. That means each attendee has at most one connection at each moment of the meeting.
Assume that duration is always provided for each record and it is compatible with the difference between join and leave time so you will consider duration of each connection as the number at the end of its corresponding line you do not need to compute duration of each connection from join and leave time
Assume that the number of attendees in a Zoom session is not greater than How to run the program:
Your program shall be executed from the command line as below using command line arguments.
where each command line argument is described as below:
: st argument is input file name, ie name of Zoom meeting report.
: rd argument is minimum duration where we would like display attendees which attended the meeting at least this minimum duration.
: th argument is optional. If it is not provided, then the output will be provided in the original order of the records in the input file. If it is provided where we enter the word sorted the output will be in the alphabetical order based on surname & name combination so the order will be based on surname and, if surnames are the same, the order will be based on name Hints: You can use any available string sorting algorithm in your source code in the literature, but your source code is expected to be comprised by only source file all your functions including the sorting function In this homework, you are mainly expected to use your skills from Strings.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started