while(count<strlen(a))
{
for(int j=0;j<(strlen(a)-1);++j)
{
if(a[j]>a[j+1])
{
ho=a[j];
a[j]=a[j+1];
a[j+1]=ho;
}
}
count++;
}
{
for(int j=0;j<(strlen(a)-1);++j)
{
if(a[j]>a[j+1])
{
ho=a[j];
a[j]=a[j+1];
a[j+1]=ho;
}
}
count++;
}
The last person to post wins !
|
while(count<strlen(a))
{ for(int j=0;j<(strlen(a)-1);++j) { if(a[j]>a[j+1]) { ho=a[j]; a[j]=a[j+1]; a[j+1]=ho; } } count++; }
No God, No fear.
Know God, Know fear.
Hai.
void display(int x)
{ int dec=0,i=0; char z; while(x!=0) { dec = dec + ( (x%10) * ( (int)pow(2,i) )); x/=10; i++; } z=dec; printf("ASCII value is % d -> char is %c. \n",dec,z); }
No God, No fear.
Know God, Know fear. (September 12, 2015 at 1:21 am)Cthulhu Dreaming Wrote: You feeling OK, v? A light case of washer tilt. I'm going to Pfangles and get a new one this afternoon. The granting of a pardon is an imputation of guilt, and the acceptance a confession of it.
I don't want to wake up yet D:
I can't remember where this verse is from, I think it got removed from canon:
"I don't hang around with mostly men because I'm gay. It's because men are better than women. Better trained, better equipped...better. Just better! I'm not gay." For context, this is the previous verse: "Hi Jesus" -robvalue
Any citizen or resident hominin found guilty of being, accused of being, said to appear, suspected of being, or rumored to be unpatriotic, by any police officer, elected official, military serviceman, notary public, or any person other than Alan Brady, shall be subject to one, three, any, two, or all of the following:
(i) A fine of no less than 20% but no more than 60% of his/her annual net income divided by the number of persons who live at his/her place of residence for at least 75% of the year, but not to exceed the current market price of one goat in fair health and fertility; (ii) The placing of his/her left hand over his/her spleen during a live performance of the National Anthem of Alanland, followed by 36 hours, unattired, in the local pranger; (iii) Death by guillotine; (iv) Death by stoning;* (v) Driver's license revocation, followed by deportation to the Russian Empire, with no possiblity to re-enter Alanland for a period of no less than 14 years and 22 days or until October 1, 2035, whichever comes first; (vi) Conscription into the Alanland Patriotism Encouragement Services and Honor Inspiration Team (APESHIT) and compulsory attendence at all bidiurnal meetings for a period of no less than 14 years and 22 days or until October 1, 2035, whichever comes first. * Rescinded 25 June, 2012 The granting of a pardon is an imputation of guilt, and the acceptance a confession of it.
|
« Next Oldest | Next Newest »
|