+ 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....
3 Respostas
+ 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";
}
+ 2
Thanks #Devender Mahajan
+ 1
Always welcomed