Question 4:
(1 mark, file to be edited: Q4.c)
3 of 3
Paper No: 3
Write a program that prints a hollow right-angled triangle pattern using the character # with height n
entered by the user.
Below is an example when user enter 'n' = 7
7
OUTPUT:
Zoom
- FUO
+ 100%
#
##
# #
# #
Press any key to continue
Close