Check if alphabet

    0

    0

    Giovanny Gongora

    Codiga's C Recipes

    Check whether the given char is alphabet or not

    char ch;
    if((ch>='a' && ch<='z') || (ch>='A' && ch<='Z'))
      printf("\n%c is an Alphabet", ch);
    else
      printf("\n%c is not an Alphabet", ch);
    getch();
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.