My caesar cipher implementation does not output words after a space | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

My caesar cipher implementation does not output words after a space

I wrote a caesar cipher in C but the program outputs only the first word if i have a sentence. https://www.sololearn.com/compiler-playground/cK1DtwYLXhGW

27th Oct 2022, 3:49 PM
Rahul Guha
Rahul Guha - avatar
1 Answer
+ 1
Read the input string using fgets() http://www.cplusplus.com/reference/cstdio/fgets/
29th Oct 2022, 10:30 AM
Ipang