Programming in C
Programming in C
4th Edition
ISBN: 9780321776419
Author: Stephen G. Kochan
Publisher: Addison-Wesley
Question
Book Icon
Chapter 12, Problem 11E
Program Plan Intro

Program Plan:

  • Include the necessary header files into program.
  • Define the macro named “IS_UPPER_CASE()” to find out the uppercase character.
  • Define the macro named “IS_LOWER_CASE()” to find out the lowercase character.
  • Define the macro named “IS_ALPHABETIC()” to find out the given letter is alphabetic or not. This macro calls both uppercase and lowercase macros to find out the character.
  • Define the macro named “IS_DIGIT()” to check given character is digit or not.
  • Define the main function.
    • Declare the variable named “value” in type of character.
    • Prompt the user and get the value.
    • Call the every system function with its appropriate macro and print the result on screen.

Blurred answer
Students have asked these similar questions
Is it preferable to use a macro or a function?
Is it preferable to compartmentalise the extensive software into a number of smaller modules, each of which is responsible for a certain task? These sections are referred to as functions when written in the computer language C++. Is there anything more that you'd want to discuss in relation to this?
Local declarations are those that are stored in the computer's memory, but how are they stored? Using local declarations is unnecessary if the same goal can be accomplished without them. When reference parameters may be used in any function, why bother with value parameters? When it comes to processing programme data, how important are value parameters?
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage