Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

C include int MyIsAlp... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Calculus With Applications

Authors: Margaret L. Lial

12th Edition

978-0135871348, 0135871344

More Books

Students also viewed these Programming questions