Posts
 
Reputation
Joined
Last Seen
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
1 Commented Post
0 Endorsements
Ranked #107.73K
~1K People Reached
Favorite Forums
Favorite Tags
c++ x 1

1 Posted Topic

Member Avatar for matt_570

[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 …

Member Avatar for pratik_ghulaxe
0
1K

The End.