Questions tagged [mario.less]
The mario.less tag has no usage guidance.
11
questions with no upvoted or accepted answers
0
votes
0
answers
18
views
Problem set 0 pyramid left align. I changed the signs until the pyramid came out, but I really don't understand how I did it
I have an issue with problem set 0, on the left alignment of the pyramid. I tried to make a formula, but when I typed in the terminal, the pyramid appeared incorrectly. I changed the signs until the ...
0
votes
1
answer
10
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 ...
0
votes
1
answer
117
views
My code does what I want it to do, but I get errors with check50 (PSET1, MARIO, LESS)
When I run my code in the terminal it gives me the correct response. However, check50 indicates there is an issue with my spaces. I have spend 2 days looking at it but I dont know whats wrong.
INPUT
/...
0
votes
1
answer
38
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 - ...
0
votes
2
answers
50
views
Pset1 How do I get my code to compile as it should?
I'm trying to get my code to compile properly and it just won't. I know the code works when using a printf and scanf but now that I've changed it to get_int and printf it is not working properly. I ...
0
votes
1
answer
63
views
Mario Less Loops doubt and code review
I have attempted the PSET 1 of 2020 CS50x and have a couple of doubts. Could someone check if the following code for Mario less one is correct. If it is I also had a question that what should I put ...
0
votes
1
answer
216
views
Stuck at pset 1 mario problem
I'm Stuck at the PSET 1 problem of CS50.
for height 3, my output is coming as
..#
..##
..###
Can any peers or experts, look into my code and help me out.
[EDIT: code removed for Honor Code ...
0
votes
0
answers
104
views
Pset1 mario only executing do-while loop
So i've spent way too much time on this. Didnt expect it to be so difficult. I think i got the coding right but for some reason the program is only executing till the do-while loop and then it exits ...
0
votes
1
answer
41
views
Unable to run file CS50 mario less comfortable. errors while running program
]2
These are the codes and error screenshot which i receive while running programme which i have coded with help from different sources and with my understanding
0
votes
2
answers
149
views
Why isn't my block on pset1 turning into a staircase?
I am currently working on pset1 Mario, less comfortable. I am running my c to turn the hashtags into a staircase, but when I run the code, it is only a block. What is wrong with my code? Thank you all ...
0
votes
1
answer
268
views
I finished pset1 mario.less but I don't understand my code
So I managed to finish pset1 mario.less but I'm really struggling to understand the logic behind my own code, the confusion comes into play once I get to the part where we begin building the half ...