funguje
This commit is contained in:
parent
129b1d5af3
commit
87f3955187
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user