Pages

C de tek while ile sayıyı tersten yazdırma

int b = 0;
int a = 853;
while((a/10)>=1)
{
b= (b*10)+(a%10);
a=a/10;
}

Hiç yorum yok: