daily pastebin goal
86%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. }else{
  2.                 if((int)msg[i] + actualShift > 122){ // check if it needs to wrap
  3.  
  4.                     int wrapShift = actualShift - (122 -(int)msg[i]);
  5.                     msg[i] = (char)(96 + wrapShift);
  6.  
  7.                 }else
  8.                     msg[i] = (char)((int)msg[i] + actualShift);
  9.  
  10.             }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top