Question: Write a program that asks the user to enter an integer, then uses nested for loops to print a pyramid X characters as high as

Write a program that asks the user to enter an integer, then uses nested for loops to print a pyramid X characters as high as the integer. Example, if they enter 5, print: XXX XXXXX XXXXXXX XXXXXXXXX But don't print the extra blank lines. Next Previous
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
