Question: 2. Write a program that will print out the following pattern to the screen and repeat it 4 times. The program must contain two

2. Write a program that will print out the following pattern to the screen and repeat it 4 times. The program must contain two user-defined functions with no arguments and no return value. The first function will print the first three lines of the pattern. The second function will print the final three lines of the pattern. The program will run each function four times, alternating to create the diamond shown four times on the screen. * *** ***** ***** *** *
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
