open_in_new
content_copy
int x; cin >> x; while (x > 0) { if (x > 100) cout << x << " "; cin >> x; }