Fill This Form To Receive Instant Help
Homework answers / question archive / Copy the contents of this document into a text file
Copy the contents of this document into a text file. Make sure the spacings and
indentations are included. Write a C program that READS the TEXT file and then
outputs
a. the number of characters (space is to be considered a character),
b.number of words (a word is any sequence of non-white-space characters)
c. number of lines.
-- Each of the functionalities a, b, and c above must be written as FUNCTIONS
and passing of arguments MUST be through POINTERS. -- Name the functions
problem5char.c, problem5words.c, and problem5lines.c
-- Write a Makefile that will execute the main C program to include all these
three scripts.
-- All these outputs from (number of chars, words and lines) must be saved
into ANOTHER text file row-wise. Every execution of your script with a new input must
APPEND the outputs to a new row in that text file. You can separate each value in a
row using any delimiter of your choice (e.g. comma or semicolon etc)