Question 4:
(1 mark, file to be edited: Q4.c)
Users are required to enter an integer number to define rows of the half pyramid of alphabets
(rows > 0).
Program prints out the half pyramid of alphabets.
Below is an example of how the program will run.
For example, enter 6 for rows:
6
OUTPUT:
ABCDEF
GHIJK
LMNO
PQR
ST
U
Press any key to continue
Question 5:
(1 mark, file to be edited: Q5.c)
FUour program allows users to enter an array of 'n' integers, where 'n' is entered by the user (n > 0).