12345678910111213141516171819
#include <iostream> using std::cin; using std::cout; int main() { for(int i = 0; i <= 100000; i++) { cout << "\r" << i; if(i == 10000 || i == 20000 || i == 30000 || i == 40000) // etc, Multiples of ten thousand { cout << "\a"; } } cin.get(); return 0; }
if ( (i%10000) == 0 )