
can somone help me with this in c language

![Execution:
Use the file /classes/cis 158/cntwlc/welcome get the example output using the following
command:
The file contains the following text
cntwlc </classes/cis 158/cntwlc/welcome
Welcome to CIS158.
C and Tux are working hard, are you?
Hopefully you are having fun and learning a new skill.
That being the case, as it should, it is time to say
"Have a Nice Semester!"
Example of Output
Lines
Words
[s158a00@cisweb ex0]$ cntwlc <testFile
Welcome to cntwlc the CIS158 version of word count.
This program will produce statistics about the text entered from standard
in.
Please enter your text now. When finished enter a control D to end.
Text Statistics:
Characters
Alphabetic
5
37
188
139
Digits
Special
Thank you for using cntwlc. Bye!
3
9](https://content.bartleby.com/qna-images/question/2ca7c533-b16a-48ac-b683-2466b6c3b5e3/d7b46697-a038-4f37-9960-9630fdbfae97/7cq6gx_thumbnail.jpeg)

Trending nowThis is a popular solution!
Step by stepSolved in 4 steps with 2 images

ok thank you, how would I use the code from the follow up to make a makfile, is it possible to do with just 1 file ? The makefile follows these directives:
The makefile directives will have a target for each .c that will create the object file, a target to create the executable (binary) file using the object files created by the object targets and a target called clean to remove all object files.
Hi thank you, but this doesnt full answer the question and in the output screenshot you posted the count is showing that there are 0 lines and only 3 words ?
also in the picture where it says execution and in example of output, it shows that the program is suppposed to call another file that has text already in it and count that while still using the scanf feature to promt the user to enter the file, how would I do that? Lastly it says the user must hit control D when they are finished, can you incorporate that as well
thank you
ok thank you, how would I use the code from the follow up to make a makfile, is it possible to do with just 1 file ? The makefile follows these directives:
The makefile directives will have a target for each .c that will create the object file, a target to create the executable (binary) file using the object files created by the object targets and a target called clean to remove all object files.
Hi thank you, but this doesnt full answer the question and in the output screenshot you posted the count is showing that there are 0 lines and only 3 words ?
also in the picture where it says execution and in example of output, it shows that the program is suppposed to call another file that has text already in it and count that while still using the scanf feature to promt the user to enter the file, how would I do that? Lastly it says the user must hit control D when they are finished, can you incorporate that as well
thank you
- What kinds of computation problems does a logic programming language like Prologue solve most effectively?arrow_forwardThe words prefix, infix, and postfix notation should be defined. What does the term "Cambridge Polish notation" mean? Two programming languages that use postfix notation should be mentioned.arrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education





