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() )
0 Comments:
Post a Comment