I'm not asking anyone to write the code for me but what I wanna ask is how do I learn this effectively I wanna develop my logic and polish my programming skills I am eager to learn this no matter how hard it is but I need a good place to start
I'm only having difficulty in printing patterns for now.
You can analyze the shape for patterns. In this case:
1) There are always 5 characters.
2) The amount of stars is always the same as the row number
3) Amount of spaces = total characters (5) - amount of stars on this row ( row number)
Using that, you can put together the following pseudo code
1 2 3 4 5 6 7
for all lines
while spaces < max lines - line
print a space
while stars < line
print a star
print a newline