You are to implement a program for performing simple imagemanipulations on an image file. For this project, you will need toutilize the concepts of arrays and object creation that have beendiscussed in class. The list of requirements and constraints forthe system are as follows:
1. The system must be able to read in a PGM image file forprocessing (including the pixel data in a dynamically-allocatedtwo-dimensional array. a. The user should be prompted for an inputfilename of no greater than 31 characters.
2. The system must be able to write out a PGM image file forviewing a. The user should be prompted for
OR
OR