Question: Write functions for characters that do following tasks given in the table below: Function Name 1. MyIsAlpha() 2. MylsDigit() 3. MylsLower( 4. MylsUpper( 5.

Write functions for characters that do following tasks given in the table below: Function Name 1. MyIsAlpha()

Write functions for characters that do following tasks given in the table below: Function Name 1. MyIsAlpha() 2. MylsDigit() 3. MylsLower( 4. MylsUpper( 5. MyConvertUpper() 6. MyConvertLower() 7. Myisxdigit() 8. Myisprint() 9. Myispunct() 10. Myisspace() Task Returns 0 if the character passed to it is an alphabet Returns 0 if the character passed to it is a Digit Returns 0 if the character passed to it is lower case Returns 0 if the character passed to it is upper case This function Converts lower case alphabet to upper case if it is in lower case. You can use MylsLower() or MylsUpper() for this function. This function Converts upper case alphabet to lower case if it is in upper case. You can use MylsLower() or Myls Upper() for this function. Returns 0 if the character passed is a hexadecimal digit (0-9, a-f, A-F). Returns 0 if the character is a printable character (including space) Return 0 if the given character is a punctuation character. Return 0 if the given character is a space character. Guide Lines: 1. For all functions, use the same names as given above. 2. Use only character parameters. 3. Test these functions appropriately. 4. Do not use any built-in function or library.

Step by Step Solution

3.36 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

C include int MyIsAlp... View full answer

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!