int count=0;int main() { cout <<" from 0 to 9999, ";for(int j=0;j<10000;j++){ fun(j); } cout <<" there are "<< count<<" numbers have more than 8 iterations. "<<endl;for (int k=0;k<8;k++){ cout << k+1<<" times of iterations: "<< table[k]<<"...