For those who wish to improve their logical programming skills, we will be showing simple problems that can be solved using Nested loops. Below is our first problem, where given a number will show a pattern. For example, if we are given the number 5, the output of our code should be:
*
**
***
****
*****