Joined
Last Seen
-4 Reputation Points
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #107.73K
1 Posted Topic
[CODE]include<stdio.h> #include<stdlib.h> #include<conio.h> void main() { clrscr(); int a[5],i,j,c=0,t,uniqu_number; float per,total_number; total_number=5.0; for(i=0;i<5;i++) { scanf("%d",&a[i]); } printf("Repeating elements are "); for(i = 0; i < 5; i++) for(j = i+1; j < 5; j++) if(a[i] == a[j]) { printf(" %d ", a[i]); c=c+1; } t=c*2; uniqu_number=total_number-t; printf("\nsame Element in Array …
The End.
pratik_ghulaxe