Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- #include <ctype.h>
- int main(int argc, char **argv)
- {
- int index = 0;
- char c;
- char text[512];
- while ((c = getchar()) != '~'){
- text[index++] = toupper(c);
- }
- printf( "%s\n", text);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement