Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Jan 13th, 2018 52 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. int frequency(int*a, int n)
  2. {
  3.  
  4.     int x=0;
  5.     for(int i=0;i<n;i++)
  6.     {
  7.         for(int j=0;j<n;j++)
  8.         {
  9.             if (a[j]==a[j+1])
  10.               a[j]=a[j+1]='*'; 
  11.         }
  12.         x++;
  13.    
  14.     }
  15.  
  16. }
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