I\'m rather new to C and have recently been working on making a simple encryption/decryption program. I managed to get the encryption fine, but I\'ve hit a road block with the
Instead of using asciinum % 26, use (asciinum + 26) % 26, this will have you using modulus on positive numbers, at the cost of an extra addition each time through the cycle.