Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in C language, please Write a C program that prompts the user to enter a character, then check whether this character is an alphabet, digit

in C language, please

image text in transcribed

Write a C program that prompts the user to enter a character, then check whether this character is an alphabet, digit or special character. You should implement 3 functions: a) isAlphabet, that receives a character and returns 1 if the character is an alphabet (alphabet letters are all lowercase letters (a-z) and uppercase letters (AZ)). Otherwise, returns 0. b) is Digit, that receives a character and returns 1 if the character is a number (numbers are (0-9)). Otherwise, returns 0. c) isSpecialChar, that receives a character and returns 1 if the character is a special character. Otherwise, returns 0. [Hint: you can call the previous functions]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

More Books

Students also viewed these Databases questions