CodePudding user response:
#include
Int main ()
{
For (int I=0, j, k, x. i <8; I++)
For (j=I + 1; J & lt; 9. J++)
For (k=j + 1; K & lt; 10; K++)
If ((x=(k - I) * 99)==I * 100 * 10 + k + j) printf (" % d \ n ", x);
return 0;
}
CodePudding user response:
Only this one: 954-459=495CodePudding user response:
The three digits into the digital first, and then calculate