• Source
    1. #include<stdio.h>
    2. #include<stdlib.h>
    3. //This header file contains the system() function.
    4. main()
    5. {
    6. int arr[5],i;
    7. printf(" Enter Five numbers : ");
    8. for(i=0;i<5;i++)
    9. {
    10. scanf("%d",&arr[i]);
    11. }
    12. printf("\n You have Entered these following numbers : \n");
    13. for(i=0;i<5;i++)
    14. {
    15. printf(" %d\n", arr[i]);
    16. }
    17. system("pause");
    18. //this function is called for pause the screen.
    19. }
    20.