Use C program to print out a star-triangle below:
* ** *** **** *****
Hidden content!#include<stdio.h>int main(){ ** * * ** ** * * * * n,i,j;* * * * * *** **** * * * ** ** ** * ** ** the number");* * ** * *** ** * * * * * * ** *** ** ** *