You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
149 B

int checknum(int a, int b)
{
if ((a + b) > 50 || (a - b) < 0 || a > 50 || b > 50 || a < 0 || b < 0)
{
return 0;
}
return 1;
}