Programming

profileAdejoke
3.5GuidedPractice.docx

3.5 Guided PracticePre-Defined Functions using string.h

 In this exercise, you will see how to use the  puts() function to display output and gets() to store a string from the stdio.h.  You will also use the string.h header file to use the  strlen() function which counts the number of characters in a string.  Keep in mind that spaces are counted too.

Instructions

Follow these instructions to complete your assignment:

1. Select the Code tab and enter the code into your compiler. (Note:  You do not have to create a Flowchart for this exercise.)

2. Compile your code and run. Your output should match the image on the Output tab.

3. Paste a screenshot of your output (including the Title Bar showing the path and name of your code) into a Word document (.docx).

4. Submit the “.c” code file, which should include a comment line with your name and the date.

5. Save your files and upload them using the instructions below.

· Code

Graphical user interface, text, application, email  Description automatically generated

Text  Description automatically generated

image1.png

image2.png