#include using namespace std; /* void func1 (int & x, int & y, int z); void main() { int a=2, b=2, c=2; func1(a, b, c); cout << "a=" << a << " b=" << b << " c=" << c <> a; cout << "Enter B: "; cin >> b; cout << "The greater of the two values is: "; cout << max(a,b); cout << endl; int A[6] = {2,5,3,6,8,1}; int k; for (k = 2; k >= 0; k--) A[5 - k] = A[k]; for (k=0; k<6; k++) cout << "Element " << k+1 << " is: " << A[k] << endl; } int max(int x, int y) { return (x > y) ? x : y; }