Question: In R programming, I used Caesar cipher to find the plain text fro C with the key 4. Rather than getting a letter, I got
In R programming, I used Caesar cipher to find the plain text fro "C" with the key 4. Rather than getting a letter, I got a "?". Why did this happen and how can I fix it? I have my code below
p <- utf8ToInt('C') n <- (p - 4) z <- (n %% 128) y <- intToUtf8(z)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
