Skip to content

Instantly share code, notes, and snippets.

@gcrsaldanha
Created January 31, 2022 13:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gcrsaldanha/aec7dbebf3e2fc378c3b3f747ed6e004 to your computer and use it in GitHub Desktop.
Save gcrsaldanha/aec7dbebf3e2fc378c3b3f747ed6e004 to your computer and use it in GitHub Desktop.
Solução mario more
#include <cs50.h>
#include <stdio.h>
int main(void)
{
int n;
do
{
n = get_int("Size: ");
}
while (n < 1);
for (int i = 0; i < n; i++)
{
for (int j = 0; j < )
for (int j = 0; j <= i; j++)
{
printf("#");
}
printf("\n");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment