#include #include #include #include #include #include using namespace std; int main() { float flower_inum = 0.0; float i = 0.0; float flower_onum = 0.0; int flower_sn = 0; while (true) { while (1) { if (flower_sn > 0) { i += 4; flower_sn -= 1; } else { flower_onum = i; break; } if (flower_sn > 0) { i -= 3; flower_sn -= 1; } else { flower_onum = i; break; } if (flower_sn > 0) { i *= 2; flower_sn -= 1; } else { flower_onum = i; break; } if (flower_sn > 0) { i /= 1; flower_sn -= 1; } else { flower_onum = i; break; } } cout << "i_num" << flower_inum << "o_num" << flower_onum << endl; flower_inum += 1; i = flower_inum; flower_sn = flower_inum / 1; Sleep(100); } system("pause"); return 0; }