Learning by doing: Reading books and trying to understand the (code) examples
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
176 B

#include <stdio.h>
int main(void) {
for (size_t i = 0; i < 5; i++) {
for (size_t j = 0; j <= i; j++) {
printf("$");
}
printf("\n");
}
return 0;
}