Page 1 of 1

## 6 Replies - 877 Views - Last Post: 18 October 2009 - 03:19 PMRate Topic: //<![CDATA[ rating = new ipb.rating( 'topic_rate_', { url: 'https://www.dreamincode.net/forums/index.php?app=forums&module=ajax&section=topics&do=rateTopic&t=132806&amp;s=2ec1b33817551d33c05e01a372523298&md5check=' + ipb.vars['secure_hash'], cur_rating: 0, rated: 0, allow_rate: 0, multi_rate: 1, show_rate_text: true } ); //]]>

### #1 intesar

Reputation: 0
• Posts: 6
• Joined: 18-October 09

Posted 18 October 2009 - 12:26 PM

Q:[b]write a program that takes an array of 10 integers as input from user and sorts the array in ascending order>>>????

plz telme the code of this problem..
just telme how to sort the array in ascending order????i have taken 10 integers input but dunno how to sort them in ascending oreder?

This post has been edited by intesar: 18 October 2009 - 12:29 PM

Is This A Good Question/Topic? 0

• Saucy!

Reputation: 6246
• Posts: 24,014
• Joined: 23-August 08

Posted 18 October 2009 - 12:39 PM

Search the forum, and look in our snippets and tutorials for examples.

### #3 intesar

Reputation: 0
• Posts: 6
• Joined: 18-October 09

Posted 18 October 2009 - 01:24 PM

JackOfAllTrades, on 18 Oct, 2009 - 11:39 AM, said:

Search the forum, and look in our snippets and tutorials for examples.

i've searched but dint got my solution.. plz help me out..!! this is my 1st post..

### #4 Kirbya

Reputation: 0
• Posts: 14
• Joined: 23-January 09

Posted 18 October 2009 - 01:31 PM

Look up sorting algorithms, i suggest the easier ones, such as bubble sort.

### #5 intesar

Reputation: 0
• Posts: 6
• Joined: 18-October 09

Posted 18 October 2009 - 01:35 PM

Kirbya, on 18 Oct, 2009 - 12:31 PM, said:

Look up sorting algorithms, i suggest the easier ones, such as bubble sort.

look where dude???i dont understand..
just telme the code of this prob plz..

intesar, on 18 Oct, 2009 - 12:35 PM, said:

Kirbya, on 18 Oct, 2009 - 12:31 PM, said:

Look up sorting algorithms, i suggest the easier ones, such as bubble sort.

look where dude???i dont understand..
just telme the code of this prob plz..

its c language.. not c++

### #6 Kirbya

Reputation: 0
• Posts: 14
• Joined: 23-January 09

Posted 18 October 2009 - 01:36 PM

The internet! Use google, you can't expect everything to be handed to you, especially not here.

Look up bubble sort and insertion sort, see which one is easier for you to comprehend.

• Saucy!

Reputation: 6246
• Posts: 24,014
• Joined: 23-August 08

Posted 18 October 2009 - 03:19 PM

intesar, on 18 Oct, 2009 - 03:35 PM, said:

Kirbya, on 18 Oct, 2009 - 12:31 PM, said:

Look up sorting algorithms, i suggest the easier ones, such as bubble sort.

look where dude???i dont understand..
just telme the code of this prob plz..

And with this admission, I close the topic. We don't just give people their homework all completed. We require YOU to show an effort.