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