View difference between Paste ID: nmEkWPtn and YTLgX2yY
SHOW: | | - or go back to the newest paste.
1
#include <iostream>
2
using namespace std;
3-
void reszta_z_dziel();
3+
4-
void suma_pocz_l_niep();
4+
5-
void wypisz_nieparzyste(int,int*);
5+
6
	int ile;
7
	cout<<"Ile liczb ma zawierac ciag?\n";
8-
	
8+
9-
	wypisz_nieparzyste(ile,tab);
9+
10-
	reszta_z_dziel();
10+
11-
	suma_pocz_l_niep();
11+
12-
	
12+
13
		cin>>tab[i];
14-
}
14+
15-
void wypisz_nieparzyste(int ile, int tab[])
15+
16
	{
17
		if (tab[i]%2==1) cout<<" "<<tab[i]<<" ";
18
	}
19
	return 0;
20
}