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: * ***

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!