The outer loop will iterate from 1 to 5, and the inner loop will iterate from 1 to the current value of the outer loop variable.
Here's the code to print the pattern:
```c
#include <stdio.h>
int main() {
int i, j;
for (i = 1; i <= 5; i++) {
for
Show more…