Home > Back-end >  How to calculate the result of this program number
How to calculate the result of this program number

Time:09-26

# include & lt; Stdio. H>
Void main ()
{
Int I, j, k, l;
Printf (" \ n ");
for(i=1; i<10; I++)
for(j=1; j<20; J++)
For (k=1; K<30; K++)
For (l=1; L<40; L++)

{
If (I.=k& & i!=j& & J!=k& & l!=k)
Printf (" % d % d % d % d \ n ", I, j, k, l);
}
}

CodePudding user response:

Define a variable, in the if + +
  • Related