#include <stdio.h>
int main(void)
{
int i, u = 0, x = 0, array[10];
printf("Enter 10 numbers:\n");
for (i = 0; i < 10; i++)
scanf_s("%d", &array[i]);
goto label2;
label1:
x++;
label2:
for (i = 0; i < 10; i++)
if (array[x] == array[i] && x != i)
{
printf("%d is equal to %d\n", array[x], array[i]);
u++;
}
if (x == 9) goto label3;
elsegoto label1;
label3:
printf("Total equal numbers: %d\n", u * 2);
return 0;
}