Showing posts with label how to fill the array of five elements. Show all posts
Showing posts with label how to fill the array of five elements. Show all posts

Sunday, 8 July 2012

how to fill the array of five elements



This is the source code to fill the array of five elements

Code: #include<iostream.h>
#include<conio.h>
main()
{
     int A[5];
     int r;
     for(r=0;r<5;r++)
     {
                     cout<<"enter the value";
                     cin>>A[r];
                     }
      getch();
      }