0

My code works for a single word, but if I try to input a sentence, it output the encrypted text without any spaces or punctuation. How to use the function "ispunc" to solve the problem?

1 Answer 1

0

Maybe instead of that, you should be thinking about what the code should do if something is not alpha, when not to encode something, and what to do with a character when it isn't encoded, regardless of what kind of non-alpha it is.

3

You must log in to answer this question.

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