10times Interview Question

Print a right angled triangle with dynamic input