Check if the letter is vowel or consonant

C Program
#include <stdio.h>
#include <stdlib.h>
int main()
int main()
{
    char c;
    printf("Enter any word: ");
    scanf("%c",&c);
    if(c=='A'||c=='a'|| c=='E'||c=='e'||c=='I'||c=='i'||c=='O'||c=='o'||c=='U'||c=='u')
        printf("%c is a vowel",c);
    else
        printf("%c is a Consonant",c);
}



Write a word in both Upper Case and Lower Case

C Program
#include <stdio.h>
#include <stdlib.h>
int main()
{
    char Str[10];
    printf("Enter any Word: ");
    scanf("%s",&Str);
    printf("Word: %s\n",&Str);
    printf("UPPERCASE: %s \n", strupr(Str));
    printf("lowercase: %s ", strlwr(Str));
}



Python Program
S = input("Enter a sentence: ")
print("Lower case: " + S.lower())
print("Upper case: " + S.upper() )

C program to find Sin, Cos, Tan of a number

C Program
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main()
{
   float x;
   printf("Enter Value of X:");
   scanf("%f",&x);
   printf("The sin of the value is :%f\n",sin(x));
   printf("The cos of the value is :%f\n",cos(x));
   printf("The tan of the value is :%f\n",tan(x));
}