trying to complete the Mario problem fast because I'm a little bit behind but cs50 sandbox like always has a problem with get int the error says: too few arguments to function call, at least argument 'format' must be specified
#include <cs50.h>
#include <stdio.h>
int main(void)
{
int n = 0;
do
{
int height;
//printf("Height: ");
n= get_int();
}
while (n < 8 || n > 1);
for (int i=0; i<n; i++)
{
for (int j=0; j<=n; j++)
{
if (i+j <(n=1))
printf(" ");
else
printf("#");
}
printf("\n");
}
}