1. Modify the program of Exercise 8.16 to print the character O instead of S at the centre of
the square as shown below.
2. Given a set of 10 two-digit integers containing both posi tive and negative values, write a
program using for loop to compute the sum of all positive values and print the sum and the
number of values added. The program should use scan f to read the values and terminate
when the sum exceeds 999. Do not use go to statement.