Question: Randomly generate a 256 X 256 image (an array of 256 rows and 256 columns).
Initialize the first three and last three rows and columns to "0"
- For element value <127, subtract 20 from the value.
- For element value >127, add 20 to the value.
- If the value of any element is after the operation then assign the value 0 to it.
- If the value of any element is >255 after the operation then assign the value 255 to it.