Advertisement
Guest User

Untitled

a guest
Oct 17th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main ()
  4. {
  5. //double ciag[i];
  6. //int i;
  7. int c;
  8.  
  9. //printf("Podaj ciąg liczb: \n");
  10. printf("podaj ciag liczb: %d",scanf("%d",&c));
  11.  
  12. c = getchar();
  13. c=0;
  14. while (c!=EOF)
  15. {
  16. putchar(c);
  17. c=getchar();
  18. //ciag[i]=c;
  19. }
  20. return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement