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>
int main() {
// printf() displays the string inside quotation
printf("Hello, World!");
return 0;
#include<string.h>
#include<ctype.h>
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;
}