daily pastebin goal
1%
SHARE
TWEET

Untitled

Nazma Mar 23rd, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int count=0;
  5. int a1[10],a2[10],i;
  6. for(i=0;i<10;i++)
  7. {
  8.     scanf("%d",&a1[i]);
  9. }
  10. for(i=0;i<=10;i++)
  11. a2[i]=0;
  12. {
  13. for(i=0;i<=10;i++)
  14.  
  15. a2[a1[i]]++;
  16. {
  17.     printf("number of %d=%d",i,a2[i]);
  18. }
  19. return 0;
  20. }
  21. }
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