nand prints the sum of the numbers 1 to
nand gives them the possibility to choose between computing the sum and computing the product of 1,…,
Programming Exercises for 2-Dimensional Arrays
Problem 1: Image Display Program
Write a program to read in an image encoded in a 30 x 30 integer array, convert it to a character array by replacing 0's with spaces and 1's with periods (.), and write the resulting array to an output file.
Input file: Img9-1.txt
Problem: Image Inversion
Revise program from problem 1 invert an image around the Col = Row axis.
Input file: Img9-2.txt