Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- #include <math.h>
- #include <ctype.h>
- #include <time.h>
- #pragma warning(disable:4996 6031)
- int main(){
- int i, flag = 0;
- char input[128] = { 0 };
- while(fgets(input, 127, stdin)){
- for(i = 0; input[i]; i++){
- if(input[i] == '_'){
- i++; putchar(toupper(input[i]));
- }
- else{
- putchar(input[i]);
- }
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement