I am having issues with printf in Caesar Pset 2, as can be seen through how the program is being executed in the terminal window. I have highlighted in the screenshot where I believe the problem lies.
How do I get the program to properly print a set string then the character (i.e "ciphertext: ___"?
I am having trouble figuring out where to place \n in order to print a new line after the full ciphertext rather than every character, but every time I try I run into errors such as "expected )" here or there despite double checking my brackets. i.e I want to print bcd, not b c d .
Help would be highly appreciated. Thank you so much!