Computer Science, asked by gothiswiti, 6 months ago

* * * _ _ _ _ * * * how to print this pattern in c programming

Answers

Answered by fuueyh
0

Answer:

even the most important thing for me to do

Answered by mad210202
0

Answer:

The above code will print this pattern:

Explanation:

#include <stdio.h>

int main() {

  int i, j, rows;

  printf("Enter the number of rows: ");

  scanf("%d", &rows);

  for (i = 1; i <= rows; ++i) {

         {

              printf("* ");

     for (j = 1; j <= i; ++j) {

        printf("_ ");

     }

     printf("\n");

  }

  return 0;

}

Similar questions