for(int ROWS = 0; ROWS < 6; ROWS++) { for(int COLUMNS = 0; COLUMNS < 4; COLUMNS++) { inputFile >> ShippingData[ROWS][COLUMNS]; cout << ShippingData[ROWS][COLUMNS]<<" "; //this loop is going for each column in a particular row //after each element there is a space } //we are here after a row has been completed (after we've gone //through all the columns cout <<endl; //or cout <<"\n"; //so at the end of the row we place a newline character }
hey thanks your help, really apprectice it!!!
one last problem, when the table opens up, its missing the last 2 numbers on the first and second rows 5 & 6.50
dont know why tho =/