Description
Write a RECURSIVE C function, void printTriangle(int n), to print the following pattern (illustrated for n=4), for 1 n 9.
1
22
333
4444
Write a main function that accepts the value of n for 1 n 9, and calls the printTriangle function.
Input
The integer value of n
Output
The pattern illustrated in the above