#include<iostream> using namespace std; int main() { int x = 3; do { cout << (x -= 2) << " "; } while (!(--x)); return 0; }
do-while是先执行do再判断while