C   15

array1.c

Guest on 15th January 2022 09:06:09 AM

  1. main() {
  2.  
  3. int a[5],i,isiMatrik;
  4.  
  5. for (i=0; i<5; i++){
  6.  
  7.  
  8.     printf("a[%d]=",i);
  9.     scanf("%d",&isiMatrik);
  10.     printf("\n");
  11.     }
  12. for(i=0; i<5; i++){
  13.  
  14. printf("a[%d]=",a[i]);
  15. }
  16.  
  17. return(0);
  18.  
  19. }

Raw Paste


Login or Register to edit or fork this paste. It's free.