ASSISTANCE NEEDED!!! Thanks

I have a project to complete and i am new to c++ can you assist me.

Here is the question:

1) 1. Create a program that will take an integer number as input from the user and store the number into a two dimensional array, show the user the location of the array that value will be going into. Once the array is full, loop through and display the elements to the screen and finally display the highest number that was entered into the array.

The array will look like this

const int MAX_A = 3;
const int MAX_B = 4;
//declare two dimensional array
int numbers[MAX_A][MAX_B];




my code:

int main()
{
// declaring variables
using namespace std;
int MAX_A = 3;
int MAX_B = 4;

cout << "This program will take the user's input and store into an array." << endl;
cout << "Please enter any number, up to a series of 12 numbers..." << endl;

// declaring two-demensional array
int numberArray[MAX_A] [MAX_B];
// asking the user to input data & storing in array
for (int i=0; i < MAX_A; i++)
for (int j=0; j < MAX_B; j++)
{
cout<<"Enter a number:"<<endl;
cin>>numberArray[MAX_A][MAX_B];
{
if(numberArray>=0);
cout<<"Numbers:"<<numberArray[MAX_A] [MAX_B]<<endl;

if((MAX_A && MAX_B)<0);

cout<<"Error, Please enter a positive real number"<<endl;
break;

if((MAX_A && MAX_B)> 12);

cout<<"Error, you've entered more than 12 numbers"<<endl;
break;
}

}

System("PAUSE");
return 0;
Topic archived. No new replies allowed.