Find Jobs
Hire Freelancers

Need help fixing my c program that compares different articles based on how difficult they are to read

$10-30 USD

Cerrado
Publicado hace más de 3 años

$10-30 USD

Pagado a la entrega
C program - write a program that compares different articles based on how difficult they are to read. One (very simplistic) measure of the difficulty of reading a particular text is the average word length. A document with a larger average word length is more difficult. Write a C program that does the following: • Accepts a space-separated list of filenames from the command line • Computes the average word length of each document • Prints a message stating which document is the most difficult and which document is the least difficult A "word" for our purposes is any whitespace-delimited group of characters. This is done to make the task simpler and will obviously include things that we do not usually consider part of a word. Your program should treat any of "cats,", "cat's", and "cats." as a word with 5 characters. To be parsed by the grader, your output should be formatted exactly as Most difficult document: [filename] Least difficult document: [filename] For example: Most difficult document: [login to view URL] Least difficult document: [login to view URL] If only one document is passed, then it is both the least difficult and most difficult. For file I/O, you should use the C functions fopen, fclose, and fscanf, fgets, or similar. You will also be graded on the quality of your code. Some considerations: • Your code must be free of memory leaks. • You must have a comment at the top stating, at a minimum, your name, the assignment due date, and a brief description of what the program does. • Avoid hard-coded constants. Make use of the C preprocessor instead. (Use your judgement on this one, though. For example, 0 and 1 generally show up in code without being an issue.) • Your code should notice when an error happens and fail gracefully. For example, the user may pass a filename that does not exist. ive written the code but it doesn't seem to be working when I pass it thru my professors tests I was wondering if someone could see where I went wrong
ID del proyecto: 27569608

Información sobre el proyecto

7 propuestas
Proyecto remoto
Activo hace 3 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
7 freelancers están ofertando un promedio de $21 USD por este trabajo
Avatar del usuario
Hello iam youssef saidi from tunisia , i am ready to help you with the best price . i have 2+ years experience in c. please award me the project so that we can discuss more further. let's share details and start right now Thanks!
$20 USD en 7 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hi there, I have 5+ years of experience in pure C-Prograaming. I have experience in implementing advanced algorithms and Data-Structures in pure C language. I am an active Competitive programmer on various coding platforms. I can deliver this project within 24 hours as i have woked on plenty of such File I/O related problems while writting optimized codes. I can deliver the code within 24 hours after executing all your tests.
$30 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hi, I have industrial working experience of more that 17 years in C/C++. Your problem set is very easy and can be corrected in few hours for perfect solution to pass your prof requirements. Looking forward to chat you in details for the same. Warm Regards Amit
$20 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
hi, I am a expert C/C++ programming, i think i can help you this problem. please contact me to get more information thanks
$15 USD en 2 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I can totally help you with your problem. I'm also a student doing C projects and I'm already done with mine. My recent project is to create a replica of Minesweeper game where I also create some FILE pointers for me to record some text to a file. My project is prospected to be a part of the best MP in my class. Right now, I really want to help you in your project so that I can have extra money because I really need it for my education.
$15 USD en 7 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
1. Academic writing 2. Article/content/blog writing 3. Product description writing 4. Transcription writing 5. Logo designing 6. Autocad 7. Audio recording/voice recording 8. Picture illustration 9. SQL 10. Web Development and designing 11. Book designing
$20 USD en 7 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de ROMANIA
Băilești, Romania
5,0
1
Miembro desde mar 8, 2020

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.