I want to do coding on C++ using arrays for the numbers 20,-10,50,4,10,2,6 in ascending order.....

Comments
And I want a decent question.. ;)

i want an instant answer

First!

Is that instant enough for you?

Btw: is there any question to answer at all? ...

>>i want an instant answer
With a title like that most people will just ignore you.

And you have to be a lot more specific about what you need. There are billions of different answers to the crappy way you formatted your question or statement.

>>i want an instant answer
With a title like that most people will just ignore you.

And you have to be a lot more specific about what you need. There are billions of different answers to the crappy way you formatted your question or statement.

come on people i dont know programming much but i have to tell my teacher that i can do help me out the question given to me was arrange those numbers in ascending order using arrays the language v r doing is C++ so in i want it in C++ format...

Comments
Instant answer: You fail.

First!

Is that instant enough for you?

Btw: is there any question to answer at all? ...

come on i think u can help me out

Here's a couple of ascending orders....

int arr[] = { 20,-10,50,4,10,2,6 };
for ( int i = 0 ; i < 7 ; i++ ) {
  setvolume(i);                 // 0 is silence, 7 is deafening
  say( arr[i] );  // number to speech function
}

int arr[] = { 20,-10,50,4,10,2,6 };
for ( int i = 0 ; i < 7 ; i++ ) {
  setfrequency(i*1000+1000);    // in Hz
  say( arr[i] );  // number to speech function
}

Meanwhile, in other news

This article has been dead for over six months. Start a new discussion instead.