This commit is contained in:
Zoltán Szabó 2020-03-06 01:03:46 +01:00
parent 129b1d5af3
commit 87f3955187

View File

@ -1,6 +1,16 @@
#include <stdio.h> #include <stdio.h>
int main() { #include<string.h>
// printf() displays the string inside quotation #include<ctype.h>
printf("Hello, World!");
int main()
{
char str[100];
scanf("%[^\n]s",str);
for(int i=0;i<strlen(str);i++){
str[i]=toupper(str[i]);
}
printf("%s\n",str);
return 0; return 0;
} }