Unit 5 Guided Practice 1: Data Validation and Numeric Functions

Billy11

In the Unit, we study numeric and character functions.  This Guided Practice asks a user for their initials, and, if the user types any non-alpha data, the program asks them to try again.  Notice the ctype.h file included here.  Also, notice that "!="  is used as "not equal to."

Here is the code:

And here is the output:

Now, you enter the code, and run it.  (No Flowchart this time).

Upload your .c file and a screen shot of your code output saved in a Word document including the path name directory at the top of the screen into the dropbox for grading. 

    • 7 years ago
    • 5
    Answer(2)

    Purchase the answer to view it

    • Unit5DataValidation.docx
    • Unit5DataValidation.c

    Purchase the answer to view it

    NOT RATED
    • c-char-initial.zip