C language programming

I want to create a simple triangle by hash and like this one # ## ### I can create a triangle by hash n×n width and length and hope also to create the above triangle so i hope anyone would give me some hint on how to do that