C++
You must use iostream and not stdio.h. Please make the code as simple as possible so that a new student could understand.
C++
You must use iostream and not stdio.h. Please make the code as simple as possible so that a new student could understand.
When compiling, I get an error: "ISO C++ forbids comparison between pointer and integer [-fpermissive]", so clearly I'm doing something wrong.
Write a program that takes a 2D integer array as input and prints the maximum value in the array. Example:
Enter 2D array size (row x column): 2 2
Enter array elements: 1
Maximum value in the array is: 4