#include main() { for (double d = 0; d != 0.3; d += 0.1) { std::cout << "d: " << d << "\n"; } }