kalo93

Untitled

Feb 8th, 2015
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<conio.h>
  3. main(){
  4. char p[50];
  5. int i;
  6.  
  7. printf("palavra");
  8. scanf("%s",&p);
  9. while (p[i]!='\0'){
  10. i=i+2;
  11. printf("%c",p[i]);
  12. }
  13. getch();
  14. }
Advertisement
Add Comment
Please, Sign In to add comment