Search
 
SCRIPT & CODE EXAMPLE
 

C

letter in alphabet or not

#include <stdio.h>
int main() {
    char c;
    printf("Enter a character: ");
    scanf("%c", &c);

    if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'))
        printf("%c is an alphabet.", c);
    else
        printf("%c is not an alphabet.", c);

    return 0;
}
Comment

PREVIOUS NEXT
Code Example
C :: countoddevenDifference 
C :: C temporary files 
C :: sort vectors c 
C :: pointers c 
C :: what is float in c 
C :: print binary c 
C :: aws solution architect vs developer associate 
C :: hello world in c language 
C :: mark rober 
C :: Recommended compiler and linker flags for GCC 
Dart :: how to remove debug tag in flutter 
Dart :: flutter textformfield hide underline 
Dart :: decode, encode base64 dart 
Dart :: datetime dart format print 
Dart :: rupee icon in flutter 
Dart :: dart convert string to datetime 
Dart :: undeline to text in flutter 
Dart :: get file size flutter 
Dart :: how to get first word of a sentence in flutter 
Dart :: not empty string check dart 
Dart :: format currency flutter 
Dart :: flutter animatedcontainer 
Dart :: Flutter Text size to fit 
Dart :: image from assets in flutter 
Dart :: flutter send json body to api 
Dart :: empty widget flutter 
Dart :: flutter blur background 
Dart :: iterable.every dart 
Dart :: release apk not working flutter 
Dart :: alertdialog shape flutter 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =