Exercise-5 3 1
Exercise-5 3 1
Exercise 5.3.1
For this exercise, I will provide you with a text file (test.txt), and you will write a program that
can count the number of characters, words, and lines in the provided file. Your program should
be capable of also printing the contents of the file as well as appending new text to the end of
the file.
• Please save and submit your source code (.c file) solution.
• Solution file naming convention:
o First_name_Last_name_exercise_number.c
o Please use ( - ) to indicate the exercise number
o Example: Haidar_Alaubiydy-5-3-1.c