Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Find all "isomorphic numbers" between 1 and 100. Please write the answer in c++ language.
Find all "isomorphic numbers" between 1 and 100. Please write the answer in c++ language.
# include & ltiostream & gt use the namespace std.

int main(){ long i,j,k; //long is a signed integer variable, occupying 4 bytes of memory. //i is in the range of 100, and k =10; for(I = 1; I<= 100; I++) {if (i==k) // is a judgment, and the result between I and k is true or false k * =10; j = i * iif(j%k==i) printf("%ld\t%ld\n ",I,j); } system ("suspended"); Returns 0; }