You are viewing a single comment's thread. Return to all comments →
Bro could u explain this plzz
for(auto &c: s){ if(isalpha(c)){ a = isupper(c)?'A':'a'; c= a + (c - a + rot)%26; }}
Seems like cookies are disabled on this browser, please enable them to open this website
Caesar Cipher
You are viewing a single comment's thread. Return to all comments →
Bro could u explain this plzz
for(auto &c: s){ if(isalpha(c)){ a = isupper(c)?'A':'a'; c= a + (c - a + rot)%26; }}