C programming | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
- 1

C programming

Hi guys, maybe someone know how to reverse array? How to write it in programming language (C)?

11th Oct 2019, 1:56 PM
Martynas
Martynas - avatar
6 ответов
+ 2
Use my REVERSE_ARR function and add an condition in the for loop that checks weather both numbers are positive
11th Oct 2019, 3:16 PM
Aaron Eberhardt
Aaron Eberhardt - avatar
11th Oct 2019, 2:25 PM
Aaron Eberhardt
Aaron Eberhardt - avatar
+ 1
have you learn how to use array, and try show what you have written then we can help you fix it if it's broken, it short only broken codes are fixed in the Q&A no one will create one for you
11th Oct 2019, 2:00 PM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 1
i bet this is for college.
12th Oct 2019, 1:40 PM
Shen Bapiro
Shen Bapiro - avatar
0
so I need to reverse only positive numbers in array and I dont know how to do that😁
11th Oct 2019, 2:35 PM
Martynas
Martynas - avatar
0
By using rev function
7th Apr 2020, 5:20 PM
Sannithi Harini
Sannithi Harini - avatar