Find Jobs
Hire Freelancers

Studnet record

$30-5000 USD

Κλειστή
Αναρτήθηκε πάνω από 20 χρόνια πριν

$30-5000 USD

Πληρωμή κατά την παράδοση
Write a C++ program that reads a data file consisting of each student&'s ID and name, followed by the student&'s final exam mark of DSA. The program should first prompt the user to input the file name. The contents of the data file are then read into a created linked list. Each entry to the list should have the student&'s ID, name, exam mark, and a pointer to the next student. After all the students&' data have been entered, the program should allow the users to perform the following operations: (a) Print the ID, name and mark for each student, i.e., print the whole list (b) Print the highest mark and the names of all students who received that mark (c) Print the lowest mark and the names of all students who received that mark (d) Print the average mark (e) Exit the program In performing the above (a) ~ (d) operations, the program scans the linked list only once. 2. Program Analysis I nput The program inputs students&' information from a text file. The program asks the user to enter the name of the input file. If the file exists, the program reads student data; otherwise it displays an appropriate message and exits. The sample data are 1000 Bill 70.0 1001 John 72.0 1003 Lisa 54.5 1004 Kathy 78.0 1005 Jason 68.0 1006 David 88.5 1007 Jack 60.8 1008 Tom 54.5 1009 Ben 88.5 1010 Mark 81.0 Output The program lists all DSA students (as given in the sample text file) with their IDs, names and exam marks; prints out the highest and lowest mark and the associated students (e.g., for the above data, the highest mark is 88.5 and the students with that mark are David and Ben, while the lowest mark is 54.5 and the students with the mark is Lisa and Tom). Processing The program reads a text file containing the unit student data and constructs a singly linked list of student records. Then it repeatedly displays a menu with the commands listed below and requests the user to select one of the commands. ‘P&': print the list of all students on the screen, ‘H&': print the highest mark and associated student(s), ‘L&': print the lowest mark and associated student(s), ‘A&': print the average mark, 'Q': exit the program ## Deliverables 1) Complete and fully-functional working program in 1 file. 2) just the source code file needed no executables. 3) well commented and indented. ## Platform Unix and windows 2000
Ταυτότητα εργασίας: 2973600

Σχετικά με την εργασία

60 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 21 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
60 freelancers δίνουν μια μέση προσφορά $34 USD για αυτή τη δουλειά
Avatar Χρήστη
See private message.
$6,80 USD σε 4 ημέρες
5,0 (96 αξιολογήσεις)
6,6
6,6
Avatar Χρήστη
See private message.
$17 USD σε 4 ημέρες
5,0 (84 αξιολογήσεις)
6,3
6,3
Avatar Χρήστη
See private message.
$25,49 USD σε 4 ημέρες
5,0 (159 αξιολογήσεις)
6,0
6,0
Avatar Χρήστη
See private message.
$4,25 USD σε 4 ημέρες
5,0 (77 αξιολογήσεις)
5,8
5,8
Avatar Χρήστη
See private message.
$68 USD σε 4 ημέρες
4,9 (151 αξιολογήσεις)
5,7
5,7
Avatar Χρήστη
See private message.
$25,50 USD σε 4 ημέρες
4,9 (48 αξιολογήσεις)
5,4
5,4
Avatar Χρήστη
See private message.
$17 USD σε 4 ημέρες
5,0 (35 αξιολογήσεις)
5,0
5,0
Avatar Χρήστη
See private message.
$42,50 USD σε 4 ημέρες
4,4 (72 αξιολογήσεις)
5,5
5,5
Avatar Χρήστη
See private message.
$25,50 USD σε 4 ημέρες
4,9 (37 αξιολογήσεις)
4,6
4,6
Avatar Χρήστη
See private message.
$8,50 USD σε 4 ημέρες
5,0 (2 αξιολογήσεις)
4,7
4,7
Avatar Χρήστη
See private message.
$21,25 USD σε 4 ημέρες
4,7 (41 αξιολογήσεις)
4,7
4,7
Avatar Χρήστη
See private message.
$21,25 USD σε 4 ημέρες
5,0 (22 αξιολογήσεις)
4,2
4,2
Avatar Χρήστη
See private message.
$19,55 USD σε 4 ημέρες
4,9 (94 αξιολογήσεις)
4,3
4,3
Avatar Χρήστη
See private message.
$17 USD σε 4 ημέρες
5,0 (31 αξιολογήσεις)
3,9
3,9
Avatar Χρήστη
See private message.
$4,25 USD σε 4 ημέρες
5,0 (16 αξιολογήσεις)
4,0
4,0
Avatar Χρήστη
See private message.
$8,50 USD σε 4 ημέρες
4,9 (16 αξιολογήσεις)
4,1
4,1
Avatar Χρήστη
See private message.
$30,60 USD σε 4 ημέρες
5,0 (3 αξιολογήσεις)
4,1
4,1
Avatar Χρήστη
See private message.
$66,30 USD σε 4 ημέρες
4,9 (18 αξιολογήσεις)
3,9
3,9
Avatar Χρήστη
See private message.
$12,75 USD σε 4 ημέρες
4,9 (36 αξιολογήσεις)
3,8
3,8
Avatar Χρήστη
See private message.
$680 USD σε 4 ημέρες
4,7 (15 αξιολογήσεις)
3,8
3,8

Σχετικά με τον πελάτη

Σημαία της AUSTRALIA
Australia
4,5
23
Μέλος από Οκτ 21, 2003

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.