Z zacha Forum Veteran Established Joined Sep 5, 2021 Posts 782 Reaction 56 Points 691 Jun 2, 2022 #1 Attachments You do not have permission to view the full content of this post. Log in or register now.
Z zackmark29 Forum Expert Elite Jun 2, 2022 #3 C: #include <stdio.h> int main() { int i, j; int maxRows = 5; for(i = 1; i <= maxRows; i++){ for(j = 1; j <= i; j++){ printf("%d ", j); } printf("\n"); } return 0; } Last edited: Jun 2, 2022
C: #include <stdio.h> int main() { int i, j; int maxRows = 5; for(i = 1; i <= maxRows; i++){ for(j = 1; j <= i; j++){ printf("%d ", j); } printf("\n"); } return 0; }