0

Someone can help me with This

I want make a program in JavaScript that accept 10 number and show even numbers and odd numbers inside of an array

30th Mar 2020, 4:41 AM
Joan Manuel
Joan Manuel - avatar
4 Answers
+ 2
Joan Manuel show your attempt if you face any problem in your code share here community will help you
31st Mar 2020, 7:20 AM
RšŸšŸ‡®šŸ‡³
RšŸšŸ‡®šŸ‡³ - avatar
+ 1
Joan Manuel , Try it yourself! If you need help from this forum you need to show your attempt first. If you get errors, can't figure out how a specific piece of code works then you can ask here. Do not post threads containing questions showing that no prior effort was done to find out the answer. Read this: https://code.sololearn.com/W26q4WtwSP8W/?ref=app
30th Mar 2020, 4:57 AM
šŸ‡®šŸ‡³OmkaršŸ•‰
šŸ‡®šŸ‡³OmkaršŸ•‰ - avatar
+ 1
Hi! it depends on the task conditions, how you are going to enter these numbers. with the help of the user (prompt) -> in this case, the array can be filled in as a loop, where the input window will pop up 10 times. Or already, these numbers will be known in advance and already entered initially in the program. since you wrote that numbers will be stored in an array, you will only need one variable to represent the array.
30th Mar 2020, 6:51 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
I want make for 10 different var o prompt xd
30th Mar 2020, 4:49 AM
Joan Manuel
Joan Manuel - avatar