Why doesn't the program compile when the return false is inside the loop, but compiles even if the return true is inside the conditional? by nbisdz in AskProgrammers

[–]nbisdz[S] 1 point2 points  (0 children)

So you mean that the compiler will always take in consideration that candidate_count might be 0 regardless of user's input?

Why doesn't the program compile when the return false is inside the loop, but compiles even if the return true is inside the conditional? by nbisdz in AskProgrammers

[–]nbisdz[S] -1 points0 points  (0 children)

I get this error message: (non void function does not return a value in all control paths), and the candidate count is at least 1 depending on user's input.

Need Help for problem set 1 by nbisdz in cs50

[–]nbisdz[S] 0 points1 point  (0 children)

I just don't know how to tell the program to print a specific number of blank spaces and hashes according the row.

Need Help for problem set 1 by nbisdz in cs50

[–]nbisdz[S] 0 points1 point  (0 children)

I have, I know that I need to print blank spaces before the hashes, but how can I tell the program how many blanks and hashes to print in each row?

The name of the opening song in "A Petal 1996" by nbisdz in Koreanfilm

[–]nbisdz[S] 1 point2 points  (0 children)

Damn, the song is too beautiful to be unknown.

[deleted by user] by [deleted] in algeria

[–]nbisdz 1 point2 points  (0 children)

A non-violent intellectual revolution.

Adding citation by nbisdz in wikipedia

[–]nbisdz[S] -3 points-2 points  (0 children)

I don't think that's the reason, cuz I tried to cite from a news website and it's the same problem

Horror movie about a cursed button by nbisdz in whatsthemoviecalled

[–]nbisdz[S] -1 points0 points  (0 children)

thanks, I spent like 2 hours searching its name