C Programming
C Programming

Program to check a digit inputed is a charactor or alphabet or a special charactor #C

Program to check a digit inputed is a charactor or alphabet or a special charactor #C

C Programming
C Programming

Program to check a digit inputed is a charactor or alphabet or a special charactor #C


#include <stdio.h>

int main() {

    printf("Input a charactor :");

    char ch = getchar();

    int n = (int)ch;

    if ( n>=65 && n<= 90 || n>=97 && n<= 122 )

        printf("Inputed Charactor is an alphabet");

    else if(n>=48 && n<=57)

        printf("Inputed Charactor is digit");

    else

        printf("Inputed Charactor is special charactor");

    

    printf("\n");



    return 0;

}





 

Topics Covered :

  • programming
  • c language in hindi
  • c language
  • python mcq
  • latest news
  • computer
  • khan sir
  • python aktu
  • narendra modi
  • aktu exam 2021
  • basic
  • c mcq
  • covexin
  • new movie
  • covidshield
  • yogi
  • film
  • python
  • corona
  • c programming course
  • c programming language
  • c programming language tutorial
  • c (programming language)
  • c tutorial
  • arrays
  • c course
  • c programming language tutorial for beginners
  • programming language (software genre)
  • for loop
  • pointers
  • examples
  • literals
  • tutorial
  • functions
  • data types
  • user input
  • structures
  • while loop
  • do while loop
  • loops
  • switch
  • beginners
  • language basics

 


 

 


 

Thanks for reading this blog. Hope you get satisfied with the blog and definitely this blog must have valued your time and effort of reading.

Take a time to connect our other digital creations such as Instagram , Facebook and Youtube.

 

🧑‍💻🧑‍💻 Social Media Links of Tech DCode :

👉🏻 YouTube : https://www.youtube.com/channel/UCjJnEdeugftBwQ3yMuD4B_A
👉🏻 Instagram : https://www.instagram.com/thetechdcode/
👉🏻 Facebook Page : https://www.facebook.com/thetechdcode
👉🏻 Twitter : https://twitter.com/thetechdcode
👉🏻 Telegram Channel : https://t.me/thetechdcode
👉🏻 Tech DCode Linktree : https://linktr.ee/thetechdcode
👉🏻 My Personal Handles : https://linktr.ee/virtualshivamin

🧑‍💻🧑‍💻 Social Media Links of SHIVAM SINGH (OWNER) :

👉🏻 Instagram : https://www.instagram.com/virtualshivamin/
👉🏻 Facebook Page : https://www.facebook.com/virtualshivamin/
👉🏻 Twitter : https://twitter.com/virtualshivamin/
👉🏻 Personal Linktree : https://linktr.ee/virtualshivamin 

Leave a Reply

Your email address will not be published. Required fields are marked *