+ 1

Write a program to determine ascending order(in any language)

If anyone posts in a way,please don't post that way..but if you have another idea,than post plz....

19th Mar 2017, 5:43 PM
sazzad hossain rafi
sazzad hossain rafi - avatar
3 Answers
+ 3
int main (){ int a [10], i; //input part pls add // logics for (i=0;i <8;i++){ if (a [i]>a [i+1]){ cout <<"Not in order!"; return -1; } } cout<<"List in ascending order"; }
19th Mar 2017, 6:01 PM
ā¤ĻāĨ‡ā¤ĩāĨ‡ā¤‚ā¤ĻāĨā¤° ā¤Žā¤šā¤žā¤œā¤¨ (Devender)
ā¤ĻāĨ‡ā¤ĩāĨ‡ā¤‚ā¤ĻāĨā¤° ā¤Žā¤šā¤žā¤œā¤¨ (Devender) - avatar
+ 2
Thanks #Devender Mahajan
19th Mar 2017, 6:03 PM
sazzad hossain rafi
sazzad hossain rafi - avatar
+ 1
Always welcomed
19th Mar 2017, 6:05 PM
ā¤ĻāĨ‡ā¤ĩāĨ‡ā¤‚ā¤ĻāĨā¤° ā¤Žā¤šā¤žā¤œā¤¨ (Devender)
ā¤ĻāĨ‡ā¤ĩāĨ‡ā¤‚ā¤ĻāĨā¤° ā¤Žā¤šā¤žā¤œā¤¨ (Devender) - avatar