// Zadatak2.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include using namespace std; int _tmain(int argc, _TCHAR* argv[]) { int a,a1,n,i,c,s; cout << "Molimo unesite duzinu njive u metrima:" << endl; cin >> a; s = 0;//Oznacava upukan broj deljivih brojeva sa nekim brojem N... c = 0;//Oznacava sa koliko delilaca je moguce podeliti taj broj... /* a - dužina njive a1 - služi za proveru parnosti ili neparnosti nekog N broja.... n - pripodan broj */ if (a % 2 == 0) { //cout << "Broj " << a << " je paran broj " << endl; } else cout << "" << endl; cout << a << " " << a % 2 << endl; system("Pause"); return 0; }