write a C++ program that can do the following
1. The system must be able to read in a PGM image file for processing (including the pixel a. The user should be prompted for an input filename of no greater than 31 characters. a. The user should be prompted for an output filename of no greater than 31 data in a dynamically-allocated two-dimensional array 2. The system must be able to write out a
OR
OR