Playground
#include <iostream> #include <new> using namespace std; int main() { start: cout << "Vnesi eden paren broj: "; int N; cin >> N; if (N%2 != 0) { cout << "Vnese neparen broj. "; cout << "Obidi se povtorno." << endl; goto start; //skokni do "start:" } cout << "Vneseniot paren broj e: " << N << endl; return 0; }
Input data
Program output
3 1 4
Execute
Language: ????????? | Memory: ???? KB | Time: ??? ms
Nothing has been executed, yet!