Questions tagged [pyramid]

The tag has no usage guidance.

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0 votes
2 answers
34 views

PSET 1 - Mario Less - Missing one last thing

I am missing one thing in the code because it's printing me the dots in every height case.. Can anyone give me a hint how to solve that ? int main(void) { int n; do { n = get_int("Height: &...
Nervossom's user avatar
0 votes
1 answer
14 views

Timed out and Pattern changes

I have two issues with my program. When I command check50 I have "timed out while waiting for program to exit" in different lines of my program. I've already searched for an answer to solve ...
José Cuacés's user avatar
0 votes
1 answer
44 views

How do I make the pyramid in mario.c less render normally?

#include <cs50.h> #include <stdio.h> int main(void) { int n; do { n = get_int ("Height: "); } while (n < 1 || n > 8); for (int i = 0; i < n; i++) { for (int j = (i - ...
Firestar464's user avatar
0 votes
1 answer
91 views

Mario printing out backwards

Hello I am new to coding in c and not very familiar with it. I am getting the hash tags and I am using a - so I can see my spacing. Right now I am printing my pyramid the wrong way any help will be ...
Erica Hermosillo's user avatar
0 votes
0 answers
129 views

mario.c expected identifier or '(' { and mario help

When I try running the mario program, this is what happens. Also i think i might be doing this wrong, can someone guide me in the right direction?
Ani's user avatar
  • 61
-1 votes
1 answer
261 views

I need help with pset1 mario. Can't print the pyramid

I can get the users input but i cant print the pyramid. i can only get the spaces on the first line. Plus this is the same part that i got stuck on last year and i am only 13.
Isaac Allen's user avatar