Questions tagged [itsamario]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
425 views

PSET 1 Hacker Mario [duplicate]

The instructions are here: http://cdn.cs50.net/2016/x/psets/1/hacker1/hacker1.html#itsa_mario and here for the full understanding of the basic requirements: http://cdn.cs50.net/2016/x/psets/1/pset1/...
0
votes
3answers
61 views

mario pset questions

How to make the pyramid aligned to right in mario pset ? How to make the triangle top 2 spaces wide ? My code so far. #include <stdio.h> void main() { int rows; ...
0
votes
1answer
236 views

Check50 Problem with ItsaMario

When I execute check50 it says I have some errors in my code. :) mario.c exists :) mario.c compiles :) rejects a height of -1 :) handles a height of 0 correctly :( handles a height of 1 correctly \ ...
0
votes
1answer
189 views

For Loops in Itsa Mario pset1

I don't understand what to put in for the (initialization; condition; update) part of the for loop. I used 4 variables in my code: i = height, r = rows, j = spaces, n = hashes. Whenever I type in "...
0
votes
1answer
109 views

Is it possible to write mario.c using just "if" and "else if" conditions?

Most mario.c codes rely on using the "for" loop for incrementation of the rows, spaces and hashes. But is it possible to use entirely if conditions alone to dictate the incrementation of these ...