Question: This program Asks for size ( an odd number between 7 and 1 5 ( both inclusive ) ) Validates that size is an odd
This program
Asks for size an odd number between and both inclusive
Validates that size is an odd number between and both inclusive See the first sample run to see validation.
Prints two patterns based on the given size.
Pattern : A pattern of and as shown below in the sample programs. This pattern has as many lines as the size of the pattern user input with each line having size characters total.
Pattern : A pattern with mirror image made up of letter ASee sample runs below Hint: Split the figure in tophalf and bottomhalf parts, drawing them with two different forloops. Look at each pattern closely and come up with a formula for the number of As and number of spaces required on each row in the pattern.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
