//This program aims at calculating the GCD of n numbers by division method #include using namepsace std; int main() { cout <<"Enter value of n:"<> n; int a[n]; int i,j,gcd; cout << "Enter the n numbers:" << endl; for(i=0;i> a[i]; j=1; //to access all elements of the array starting from 1 gcd=a[0]; while(j