Zadaca br8 Get link Facebook X Pinterest Email Other Apps May 29, 2025 1Zadaca br823#include <iostream>4using namespace std;56int main ( ) {7 int n;89 cout <<"Vnesi eden broj" ;10 cin >> n;1112 if ( n % 2 ==0)13 cout << n << "Paren" ;14 else15 cout << n << "Neparen" ;1617 return 0;18 } Get link Facebook X Pinterest Email Other Apps
Zadaca br11 May 29, 2025 1Zadaca br11 2 3#include <iostream> 4using namespace std; 5 6 int main ( ) { 7 int broj = 0; 8 int suma =0; 9 10 do{ 11 Suma += broj; 12 13 cout << "Vnesi eden broj"; 14 cin >> broj; 15 } 16 while (broj >= 1) ; 17 18 cout << " \nSumata e " << suma << endl; 19 20 return 0; 21} Read more
Zadaca br7 May 29, 2025 1Zadaca br7 2 3#include <iostream> 4using namespace std; 5 6int main ( ) 7{ 8 int a,b,c,d,e,f,g,h,presmetka; 9 cin >> a; 10 cin >> b; 11 cin >> c; 12 cin >> d; 13 cin >> e; 14 cin >> f; 15 cin >> g; 16 cin >> h; 17 18 presmetka = a+b+c+d+e+f+g+h; 19 20 cout << presmetka << endl; 21 22 return 0; 23 } Read more
Zadaca br5 May 29, 2025 1Zadaca br5 2 3#include <iostream> 4using namespace std; 5 6int main ( ) 7{ 8 int i=2; 9 do 10 { 11 cout << i >> "" 12 i++; 13 } 14 while (i=10); 15 16 17 return 0; 18 } Read more