My caesar cipher implementation does not output words after a space | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponse
+ 1
Read the input string using fgets() http://www.cplusplus.com/reference/cstdio/fgets/
29th Oct 2022, 10:30 AM
Ipang