Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

(triangle -printed program) write a programe that prints the following patterns

ID: 3544751 • Letter: #

Question

(triangle -printed program) write a programe that prints the following patterns separatly one beloww the other use for loops tto generat the patterns, all asterisks (*)should be printed by a single printf statement of the form printf ( "%s", "*"); (this casuses the asterisks to print side by side) .

A)                                 B)                          C)                         D
*                              **********                **********                                 *

**                             *********                 *********                                  **                  
***                            ********                  ********                                  ***

****                           *******                   *******                                  ****

*****                          ******                     ******                                 *****
******                         *****                      *****                                 ******
*******                        ****                       ****                                 *******
********                       ***                        ***                                 ********
*********                      **                         **                                 *********
**********                     *                          *                                 **********

Explanation / Answer