create an array of 10 random numbers
find the 1st~10th
if the number is first, make it to randomm[1] (do it for 1st ~10th)
clear the writing(?)
writeln (randomm[1..10])
i dont know if that is right but i tried
Yes. But finding 1st~10th isn't that easy. The highest or lowest isn't that difficult but the 2nd highest for example is a lot harder.
So you would need to use a strategy for that.
Just saying "find the 1st~10th" isn't enough because that would involve a lot of things you would need to do. You'll need to write out those things too.
Normally the simplest sort is
insertion sort.
You would need to do something like in the image below.
(it's an animated image so you need to click it)