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

  1. #include <stdio.h>
  2. int main(void) {
  3. for (size_t i = 0; i < 5; i++) {
  4. for (size_t j = 0; j <= i; j++) {
  5. printf("$");
  6. }
  7. printf("\n");
  8. }
  9. return 0;
  10. }