Skip to content

Commit 1396ec0

Browse files
committed
Create problem19.c
1 parent f79338d commit 1396ec0

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

problem19.c

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/* SOlved by Priya D, CSE */
2+
3+
#include<stdio.h>
4+
5+
#include<conio.h>
6+
7+
void main()
8+
9+
{
10+
11+
float a[20],xor,c;
12+
13+
int i,n,repeat;
14+
15+
clrscr();
16+
17+
printf(“To find the Reapeated number “);
18+
19+
printf(“Enter the value of Array”);
20+
21+
scanf(“%d”,&n);
22+
23+
for(i=0;i<=(n-1);i++)
24+
25+
{
26+
27+
Scanf(“%f”,&a[i]);
28+
29+
mul=a[i]*100;
30+
31+
}
32+
33+
Xor=mul/10;
34+
35+
C=xor/10;
36+
37+
printf(“\n The repeated num is %f\n”,c);
38+
39+
getch();
40+
41+
}

0 commit comments

Comments
 (0)