Unit 5 guided practice 1: data validation and numeric functions | programming | ECPI University


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. 

Unit 5 guided practice 1: data validation and numeric functions | programming | ECPI University


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. 

Be the first to reply

Leave a Reply

Your email address will not be published.