Playground
#include <iostream> using namespace std; int main() { int n; do { cout << "Vnesi pozitiven broj: "; cin >> n; } while (n <= 0); return 0; }
Input data
Program output
-4 -2 0 8
Execute
Language: ????????? | Memory: ???? KB | Time: ??? ms
Nothing has been executed, yet!