Ok, I have tried and have gotten a 60%. I need at least a 70% to pass. Please. Help. Me. Please. Tell. Me. What. Do. I. Do. I am done cash and now I'm stuck on this! Here is my code:
#include <cs50.h>
#include <stdio.h>
int main(void)
{
int n;
do
{
n = get_int("Height: ");
}
while (n <= 0 || n > 8);
for (int i = 0; i <= n; i++)
{
for (int j = 0; j < n + i - 1; j++)
{
if (i + j >= n)
printf("#");
else
printf(" ");
}
printf("\n");
}
}
Just help me. I need 10% more. I got 3 out of 5 on correctness and 3 out of 5 on styling. I need 1 more point. AND IM DONE WITH MARIO! I finished cash in like 1 day, and this has taken over a week. Im so pissed!