How do you write this specific code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do you write this specific code

I want a list of 38 number 1-38 I want a way where the most recent drawn number goes out of the order(no repeats) and to the back of the line C++:edited v.2

10th Dec 2022, 2:41 AM
Guala
Guala - avatar
2 Answers
+ 2
First, you did not indicate the programming language. Second, your question is confusing. Do you mean that you want to see the numbers in ascending order? What do you mean by "the least drawn numbers are in rows if 9"? Showing an example of what output you expect, would make it more clear.
10th Dec 2022, 7:50 AM
Tibor Santa
Tibor Santa - avatar
0
Create an empty array Make for loop Runs 38 numbers from 1 to 38 The firat must be ur used variarble And each iteration u must increase it by one Til 38
10th Dec 2022, 6:11 PM
Jebreel Ziadna
Jebreel Ziadna - avatar