Question: 1 . Can I have the exact code of the problem in C language please, its very urgent also as you can see in the

1. Can I have the exact code of the problem in C language please, its very urgent also as you can see in the photos, please surname first before name should be come.
2. It must be unique code. It shouldn't be same as in chegg like other question. Thanks. The last photo is input1.txt
3.Please examine the photos carefully, first we need to enter the file name as the user, surnames come before the name in the output.
4. Expected output for input1.txt should bel ike this:
Duman Feyza Nur 122.00
YILMAZ Eda Nur 97.00
YAMAC Serhat Gokhan 118.00
Yamac Duru 117.00
Gencel Asya Hale 118.00
Ceyhun Taner 117.00
TERZI Sevil 110.00
Tekin Ilhan 118.00
Safak Aytekin 120.00
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 sumames 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 e-mail 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 500.
How to run the program:
Your program shall be executed from the command line as below using 3 command line
arguments.
> In this assignment, you are going to write a C program that reads, processes, and displays 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).
What the program is expected to do:
Your program is supposed to do the following tasks:
Read input file so that, for each connection, store name & sumame of the corresponding
attendee along with duration of the connection.
If there are multiple connections made by the same attendee:
Update duration of the first connection by adding durations of the remaining
connections.
Keep the first connection (whose duration is updated) and remove the remaining
connections.
Write surname, name of attendees along with duration of their total connection if their total
connection is at least Sample run 3:
input1.txt 1181
Duman Feyza Nur 122.60
VAMAC Serhat Gokhan 118.00
Sencel Asya Hale 118.60
Tekin Ilhan 118.00
Safak Aytekin 120.60
Sample run 4:
input1.txt 118 sorted
Duman Feyza Nur 122.00
Gencel Asya Hale 118.80
Safak Aytekin 120.00
rekin Ilhan 118.60
VANAC Serhat Golkhan 118.00
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 1 source file (so all your functions including the
sorting function should be in the same file).
In this homework, you are mainly expected to use your skills from Chapter 8 Strings of the book.
Check out string.h library functions.
Check also character functions available in ctype.h.
You may also consider using fgets, fputs functions under stdio.h, if applicable to your solution.Name, Email, Join Time, Leave Time, Duration(Minutes)
Feyza Nur Duman,
fnur.duman@tedu.edu.tr,02/28/202010:54:38,02/28/202012:56:38,122.0
Eda Nur YILMAZ,
enur.yilmaz@tedu.edu.tr,02/28/202010:57:09,02/28/202010:58:28,2.0
Serhat Gokhan YAMAC,
sgokhan.yamac@tedu.edu.tr,02/28/202010:59:19,02/28/202012:56:28,118.0
Duru Yamac,, 0228?202010:59:27,02/28/202012:56:11,117.0
Asya H
attendance records in a Zoom meeting report provided as a txt file.
Getting to know input file:
A sample Zoom meeting report (input1.txt) is 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
uppercase/lowercase distinction of the letters. For example:
Eda Nur Yilmaz and EDA NUR YILMAZ refer to the same attendee.
 1. Can I have the exact code of the problem in

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!