daily pastebin goal
29%
SHARE
TWEET

sergei,nu_uo_mauo

a guest Feb 19th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     int equalcount = 0;
  2.     for(int i = 0; i< sequence.length-1; i++){
  3.             if((sequence[i]==sequence[i+1]) && (sequence[i]!=sequence[sequence.length-1])){
  4.                 equalcount++;
  5.             }      
  6.     }
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