Question: (C programing ) Using ctype.h and isalpha, create function that sees the next numeric string from the standard input stream. The function must have 4

(C programing )

Using ctype.h and isalpha, create function that sees the next numeric string from the standard input stream.

The function must have 4 returns:

return 1 if string is alphabetic

return 2 if the alphabet string contains ','

return 3 if the alphabetic string ends with three newlines

return EOF if it doesn't have any of the above.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!