Write a program that uses nested loop or for statements to display Pattern A below, followed by an empty line and then another s
et of loops that displays Pattern B. Once again no setw implementation is allowed here but you must use nested loop or for statements with proper indentation to generate these patterns. Use meaningful variable identifier names, good prompting messages and appropriate comments for each loop segment as well as other sections in the body of your program. Note: Each triangle has exactly seven rows and the width of each row is an odd number. The triangles have appropriate labels displayed.