Programming in C
Programming in C
4th Edition
ISBN: 9780321776419
Author: Stephen G. Kochan
Publisher: Addison-Wesley
Question
Book Icon
Chapter 12, Problem 7E
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 main function.
    • Declare the variable named “value” in type of character.
    • Prompt the user and get the value.
    • Using “if…else” condition, call the macro “IS_ALPHABETIC ()” which passes an argument and print the resultant values on screen.

Blurred answer
Students have asked these similar questions
Set a macro with symbol ABOUTME with your Student ID and Full Name in the  replacement string.
Computer Science Write a VBA program that replaces all instances of Oklahoma State University in provided text with the words Rose State College. NOTE: some students have had issues sending Word files with macros, so please include a screenshot of the macro
Which directive stops all further expansion of a macro?
Knowledge Booster
Background pattern image
Similar questions
Recommended textbooks for you
Text book image
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage