- 2

Can anyone help me for my task? 1 program with 6 step to be follow

1. Accept an integer value from the user in the main() function. 2. Call the function named acceptNumbers() with a formal parameter that will accept the integer value from the user as the argument value to be passed. 3. The acceptNumbers() function will store integer values in a array variable named listOne[] starting from 1 up to the value of the passed argument value to the formal parameter using an incrementation value of 1. Example: if the passed value is 5, then store 1, 2, 3, 4 and 5 to listOne[]. 4. Using recursion, transfer all even number values from listOne[] to another array variable named listTwo[]. 5. Call a function named sortingDesc() to sort the values in the array listTwo[] in descending order. 6. Display the contents of the array listTwo[] on the screen using recursion.

20th Apr 2022, 5:12 AM
Jerison Lopez
Jerison Lopez - avatar
1 Antwort
+ 1
show your coding attempts👇👇
20th Apr 2022, 5:27 AM
NonStop CODING
NonStop CODING - avatar