0

The attached image is self-explanatory.

enter image description here

Why does check50 not find any input request, yet the program clearly works as intended in the IDE? The code clearly shows that the program requests input.

Here is the check50 link also: https://cs50.me/checks/55b2fd284927af9654f72f65393d07a9d615b509

1

While the output from your program may be encoding the plaintext, the problem lies elsewhere. The program spec says to prompt for input. The code above merely waits for input, without a prompt. Perhaps a review of the program spec is in order? There is specific instruction about the prompt and what follows.

One of the hidden lessons in the early psets is that the programs must be written to conform to exactly what is required in the spec. This is especially important in team programming environments when different programmers work on different functions that must later function together.

If this answers your question, please click on the check mark to accept. Let's keep up on forum maintenance. ;-)

| improve this answer | |
  • A lesson in observation. The old spec required no prompt. I am resubmitting problem sets and forgot to read the new spec. – Gabriel Doyle-Finch Oct 17 '17 at 22:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .