Questions tagged [beginner]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

Stupid Q : where to submit files for free Harvard “cs50 class 2020”? [closed]

Im sure this is a stupid question but, what website (ide.cs50.io?) do the Harvard cs50 (2020 course) pset(x) files get submitted to 8?) Website (ide.cs50.io)? Command line IDE type (submit50 cs50/...
1
vote
2answers
39 views

Hey. Please help me find my mistake. The number of words in my sentences is not counted properly

I tried using debugger but could not figure out where I went wrong. please help #include <stdio.h> #include <cs50.h> #include <string.h> #include <math.h> int main(void) { ...
0
votes
1answer
29 views

Pset2 Readability. I am starting to do readbility and for some reason the code i wrote this far seems not to be compiling properly

My for loop doesn't seem to be executing. When i run the program it seems for loop is been skipped. Can someone please help me out. #include <stdio.h> #include <cs50.h> #include <string....
0
votes
1answer
54 views

Greedy Algorithms PSET1. I wrote this code but at some cases it fails to give the correct output. Can someone please help me.?

#include <stdio.h> #include <math.h> int main(void) { float dollar; do //Loop to prompt user to type positive value { printf("...
0
votes
0answers
13 views

Corrupt sandbox?

Is it possible that my sandbox is currupt? I keep getting an error stating that the compiler wants a ( (not a curly brace) after int main(void). I also get a error stating that the code does not ...
0
votes
2answers
21 views

Error message help

I am receiving an error that states my first curly brace is bad. I have copied this code from lecture 1 and tried to run it because I keep seeing the same error. I believe that my code is identical ...
0
votes
1answer
69 views

Beginner Week 1: Mario brick problem

Please can someone assist me! I have been stuck on this for a few hours. I can't seem to make the "#" print and loop to resemble a pyramid. I tried many different ways I could figure out but no ...
0
votes
1answer
43 views

Beginner with Cash code problem

Can you please look at my code and tell me if I am close or where to go to get help. I get an error at the G in this line. change= get_positive_float("Change owed: \n"); include include include ...
0
votes
1answer
16 views

Pset Cash CS 50 - need help

It compiles without any problems, but when I try to execute it, the Terminal crashes. Do I get in some infinite loops here? I would appreciate some help - thanks a lot! #include <cs50.h> #...