#include
#include
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
int x,a,sayi1,basamak=0,i=0;
string b="";
cout<<"Bir sayi giriniz : ";
cin>>sayi1;
x=sayi1;
do
{
basamak++;
x=x/10;
}
while(x);
int tekler[(basamak-1)];
for(int k=0;k a=sayi1%10;
sayi1=sayi1/10;
if(a%2==1){
tekler[i]=a;
i++;
}
}
cout<<"tekler : ";
for(int y=0;y cout< }
return 0;
}
SunTeknoSistem