Demonstrating for loop and printing name and symbol in right angled triangle.