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