SHARE
TWEET

Untitled

a guest Jun 19th, 2017 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.  
  6. int array[10];
  7. int temp;
  8. int i;
  9.  
  10. printf("Escribe numeros hasta que me salga de los cojones\n");
  11.  
  12. for(i = 0; i < 10; i++)
  13. {
  14.  
  15.         scanf("%d", &temp);
  16.         array[i] = temp;
  17.  
  18. }
  19.  
  20. for(i = 0; i < 10; i++)
  21. {
  22.         printf("Array %d, %d\n", i, array[i]);
  23. }
  24. }
RAW Paste Data
Top