Find Jobs
Hire Freelancers

Studnet record

$30-5000 USD

Cerrado
Publicado hace más de 20 años

$30-5000 USD

Pagado a la entrega
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
ID del proyecto: 2973600

Información sobre el proyecto

60 propuestas
Proyecto remoto
Activo hace 21 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
60 freelancers están ofertando un promedio de $34 USD por este trabajo
Avatar del usuario
See private message.
$6,80 USD en 4 días
5,0 (96 comentarios)
6,6
6,6
Avatar del usuario
See private message.
$17 USD en 4 días
5,0 (84 comentarios)
6,3
6,3
Avatar del usuario
See private message.
$25,49 USD en 4 días
5,0 (159 comentarios)
6,0
6,0
Avatar del usuario
See private message.
$4,25 USD en 4 días
5,0 (77 comentarios)
5,8
5,8
Avatar del usuario
See private message.
$68 USD en 4 días
4,9 (151 comentarios)
5,7
5,7
Avatar del usuario
See private message.
$25,50 USD en 4 días
4,9 (48 comentarios)
5,4
5,4
Avatar del usuario
See private message.
$17 USD en 4 días
5,0 (35 comentarios)
5,0
5,0
Avatar del usuario
See private message.
$42,50 USD en 4 días
4,4 (72 comentarios)
5,5
5,5
Avatar del usuario
See private message.
$25,50 USD en 4 días
4,9 (37 comentarios)
4,6
4,6
Avatar del usuario
See private message.
$8,50 USD en 4 días
5,0 (2 comentarios)
4,7
4,7
Avatar del usuario
See private message.
$21,25 USD en 4 días
4,7 (41 comentarios)
4,7
4,7
Avatar del usuario
See private message.
$21,25 USD en 4 días
5,0 (22 comentarios)
4,2
4,2
Avatar del usuario
See private message.
$19,55 USD en 4 días
4,9 (94 comentarios)
4,3
4,3
Avatar del usuario
See private message.
$17 USD en 4 días
5,0 (31 comentarios)
3,9
3,9
Avatar del usuario
See private message.
$4,25 USD en 4 días
5,0 (16 comentarios)
4,0
4,0
Avatar del usuario
See private message.
$8,50 USD en 4 días
4,9 (16 comentarios)
4,1
4,1
Avatar del usuario
See private message.
$30,60 USD en 4 días
5,0 (3 comentarios)
4,1
4,1
Avatar del usuario
See private message.
$66,30 USD en 4 días
4,9 (18 comentarios)
3,9
3,9
Avatar del usuario
See private message.
$12,75 USD en 4 días
4,9 (36 comentarios)
3,8
3,8
Avatar del usuario
See private message.
$680 USD en 4 días
4,7 (15 comentarios)
3,8
3,8

Sobre este cliente

Bandera de AUSTRALIA
Australia
4,5
23
Miembro desde oct 21, 2003

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.