Advertisement
juanjo12x

UVA_1124_Celebrity_Jeopardy

May 19th, 2014
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.27 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <string.h>
  4.  
  5.  
  6. int main(int argc, char** argv) {
  7.  
  8.     char eq[25];
  9.     int i;
  10.     while (gets(eq)){
  11.     for (i=0;i<strlen(eq);i++){
  12.         printf("%c",eq[i]);
  13.     }
  14.     printf("\n");
  15.     }
  16.     return (EXIT_SUCCESS);
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement