Question: 3. Write a program to print the following pattern: * *** ***** ******* ********* *** ***** ***** *** * Your program is allowed to use
3. Write a program to print the following pattern: * *** ***** ******* ********* *** ***** ***** *** * Your program is allowed to use one of each of the following three output statements and no other output statements: printf("* "); printf(" "); printf(" "); The three output statements may appear in any order in your program. You can use any number of if, if...else-, switch-, while-, do...while-, and for-statements. (4 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
