Question: Goals: Practicing nested loops Problem: Create a program that prompts the user to enter a character and a greater than or confirm that the user
Goals: Practicing nested loops Problem: Create a program that prompts the user to enter a character and a greater than or confirm that the user entered a valid value (you do not have to check that the whole number is whole number). Do not use a string variable. whole number equal to 1. Use a while loop that does not contain any branch structures to Next use nested loops of your choice to create a patter than output the entered whole number of the character on the first row, on third row etc. until the last row only contains 1 of the character. For example if the user entered # for the character and 8 for the whole the output would look like e less character on the second row, two less characters on the If the user entere N for the character and 5 for the whole number, the output would look like If the user entered w for the character and 4 for the whole number, the output would look like wi De net u e Remember to confirm all your submissions to Canvas. You may make multiple submissions to the same drop box and the last submission will be graded. Follow the Assignment Guidelines posted on Canvas. Lab 5 CMPSC 201-Fall 2018 10/4/20
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
