Anybody plz help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Anybody plz help

I want to make a code which demands integers from us and identifies the even,odd, positive and negative numbers from given array

21st Nov 2020, 4:21 PM
Anas kayani
Anas kayani - avatar
2 Answers
0
Traverse the array using loop and check the elements applying condition on it.
21st Nov 2020, 4:50 PM
Faisal Rahman
Faisal Rahman - avatar
0
https://code.sololearn.com/cBz074RGI4oH/?ref=app How can it classify single number as even as well as positive?
21st Nov 2020, 4:52 PM
Anas kayani
Anas kayani - avatar