Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<conio.h>
- #include <string.h>
- #include <ctype.h>
- main()
- {
- char mensagem[153], c;
- int i=0;
- printf ("Digite uma frase:");
- fflush(stdin);
- gets (mensagem);
- while (mensagem[i])
- {
- c = mensagem[i];
- if (islower(c))
- c = toupper(c);
- putchar(c);
- i++;}
- getch ();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement