Questions tagged [lesscomfortable]

The tag has no usage guidance.

3 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
120 views

Pset 1 Less comfortable - Number of Hashes

Sorry for the beginners's question. When I try to compile to following code for the Mario - Less Comfortable problem, I am printing the same number of hashes for each row and am unsure why. Code is ...
0
votes
1answer
74 views

Pset4 resize (less) Invalid file format

This pset has been super hard for me. I am trying to resize horizontally before I tackle vertical and I am able to compile and run the program but when I go to open the output file I get the error ...
0
votes
1answer
30 views

When I enter input that is integer more than 23, the program stops. I think it is supposed continue prompting in this case. What's wrong?

#include <stdio.h> #include <cs50.h> int main(void) { int n; do { n = get_int("Height: "); } while (n<=0 || n>23); }