Professional Documents
Culture Documents
*
i.e. the content of A1 become that of A2.And A2 contains that of A3 *
& so on as An contains A1 */
#include <stdio.h>
void main ()
{
int i,n,number[30];
printf("Enter the value of the n = ");
scanf ("%d", &n);
printf ("Enter the numbers\n");
for (i=0; i<n; ++i)
{
scanf ("%d", &number[i]);
}
number[n] = number[0];