First problem: Adding all numbers from 1 to the number it is typed(using For)

Second Problem: Making “*” in stair shape, the last row will have the same numbers of stars that you have typed

Third problem: Determining numbers in a number list that are smaller than what you have typed