TEXT   13
c array print
Guest on 11th July 2024 07:57:47 AM


  1. #include<stdio.h>
  2. int main()
  3. {
  4. int ar[10],i;
  5. printf("Enter any 5 numbers\n");
  6. for(i=0;i<5;i++)
  7. {
  8.     scanf("%d",&ar[i]);
  9. }
  10. printf("your array is\n");
  11. for(i=0;i<5;i++)
  12. {
  13.     printf("%d",ar[i]);
  14. }
  15. return 0;
  16.  
  17. }

Raw Paste

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