Answer to Question #17740 in C++ for Akhil Menon
WAP having function named lower half which takes a 2-D array ‘A’ with size n rows and n columns as argument and print the lower half of the array.
1
2012-11-01T12:20:49-0400
void lower(int** mass, int rows, int colms)
{
for(int i=(rows>>1);i<rows;++i)
for(int j=0;j<colms;++j)
cout<<mass[i][j];
}
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
C++
Comments
Leave a comment