Write a for loop which writes a countdown from 10 to 0.
for(int i = 10; i >= 0; --i) std::cout << i << "\n";
SOURCE
Content is available under GNU Free Documentation License 1.2.