/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: main.cpp * Author: Tsoukalas Vassilis * * Created on 14 Δεκεμβρίου 2018, 12:16 μμ */ #include using namespace std; double ginomeno(double g[], int size) { double gin=1.0; for (int i=0; i=0 ) flag=false; } return flag; } int sumPositive(int g[], int size) { int sum=0; for (int i=0; i 0) { sum+= g[i]; } } return sum; } int countZero(int g[], int size) { int cnt=0; for (int i=0; i