![]() |
sort
Complete the sorting of three numbers from small to big:
Code:
#include <stdio.h> |
Re: sort
You don't use variable t, while looks like an infinite loop, swapping is ok. If you want to sort a few numbers, you may use array or some ohter data structure and use some sorting algorithm.
Quote:
|
Re: sort
Thank you for your advices !!I get it!
|
| All times are GMT +5.5. The time now is 20:50. |