Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //313AC
- #include <stdio.h>
- #include <string.h>
- void vocale(char sir[])
- {
- for(int i = 0; i<strlen(sir); i++)
- if (strcmp("aeiou", sir[i]));
- toupper(sir[i]);
- }
- int main()
- {
- char sir[100];
- printf("Introduceti un sir");
- fgets(sir, 100, stdin);
- vocale(sir[100]);
- printf("%s", sir);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement