Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (a[i] == a[i+1]|| a[i+1] == k)
- {
- k = a[i+1];
- a[i+1] = '0';
- if (a[i+1] != k)
- {
- k = 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement