Code:

#include <stdio.h>
#include <stdlib.h>
int main()
{
int check;
int i = 1;
int a[i];
int b[i];
int c[i];
int d[i];
printf("Please enter the number of quadrilaterals to check: ");
scanf("%d", &check);
if(!(check >= 1) || !(check <=127))
{
while(!(check >= 1) || !(check <=127))
{
printf("Error: Invalid number of quadrilaterals.\n");
printf("Please enter the number of quadrilaterals to check: ");
scanf("%d", &check);
}
}
while(i <= check){
printf("Please enter the four sides for quadrilateral %d: ", i);
scanf("%d" "%d" "%d" "%d", &a[i], &b[i], &c[i], &d[i]);
if((!(a[i] >= 1) || !(a[i] <= 225)) || (!(b[i] >= 1) || !(b[i] <= 225)) || (!(c[i] >= 1) || !(c[i] <= 225)) || (!(d[i] >= 1) || !(d[i] <= 225)))
{
while((!(a[i] >= 1) || !(a[i] <= 225)) || (!(b[i] >= 1) || !(b[i] <= 225)) || (!(c[i] >= 1) || !(c[i] <= 225)) || (!(d[i] >= 1) || !(d[i] <= 225)))
{
printf("Error: Invalid number of side.\n");
printf("Please enter the four sides for quadrilateral %d: ", i);
scanf("%d" "%d" "%d" "%d", &a[i], &b[i], &c[i], &d[i]);
}
}
i++;
}
for(i = 1; i <= check; i++) {
if(a[i] == b[i] && a[i] == c[i] && a[i] == d[i]){
printf("Quadrilateral %d : (a= %d, b= %d, c= %d, d= %d) is square.\n", i, a[i], b[i], c[i], d[i]);
}
else if (a[i] == c[i] && b[i] == d[i]){
printf("Quadrilateral %d : (a= %d, b= %d, c= %d, d= %d) is rectangle.\n", i, a[i], b[i], c[i], d[i]);
}
else if ((a[i] == c[i] && b[i] != d[i]) || (a[i] != c[i] && b[i] == d[i])){
printf("Quadrilateral %d : (a= %d, b= %d, c= %d, d= %d) is isosceles trapezium.\n", i, a[i], b[i], c[i], d[i]);
}
else if ((a[i] == d[i] && b[i] == c[i]) || (a[i] == b[i] && c[i] == d[i])){
printf("Quadrilateral %d : (a= %d, b= %d, c= %d, d= %d) is kite.\n", i, a[i], b[i], c[i], d[i]);
}
else printf("Quadrilateral %d : (a= %d, b= %d, c= %d, d= %d) is irregular quadrilateral.\n", i, a[i], b[i], c[i], d[i]);
}
return 0;
}