Question: Question 5: The BONUS! Make sure you understand the pattern and match the cases. This is a bonus question. Think about printing a boundary (it

Question 5: The BONUS! Make sure you understand the pattern and match the cases. This is a bonus question. Think about printing a boundary (it looks like a rhombus). You need to write a C program that will take a number (size) as input from the user and print a pattern exactly like the below example. Remember, your code SHOULD work for both EVEN and ODD numbers as input. If we take 4 as an input from the user, the output will be: 4444444 4333 334 43 2 2 2 3 4 4 3 2 1 2 3 4 4 3 2 2 2 3 4 4333 334 4444444
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
