Wednesday, February 3, 2021

 //program by dikshit

#include <stdio.h>

int main()

{

    char c;

    int lowercase_voweluppercase_vowel;

    printf("enter an alphabet :    ");

    scanf("%c", &c);

    lowercase_vowel = (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u');

    uppercase_vowel = (c == 'A' || c == 'E' || c == 'I' || c == 'O' || c == 'U');

    if (lowercase_vowel || uppercase_vowel)

        printf("%c is a vowel"c);

    else

        printf("%c is a consonant"c);

    return 0;
}

No comments:

Software scope

 In software engineering, the software scope refers to the boundaries and limitations of a software project. It defines what the software wi...

Popular Posts