0
Write a program to input 10 number and check they are positive negative or neutral
6 Réponses
+ 4
Would 0 be neutral?
Or would it be positive and negative and neither positive nor negative at the same time or only have a certain probability of negativity and positivity?
The Swiss is not neutral!!! They clearly show a + in their flag!!! 🤓
+ 2
Rahul Kumar ,
this is the q&a (question and answer) section of sololearn. if you have any coding related questions please place them here.
+ 1
I was thinking a DR or Norwegian flag as a neutral number
+ 1
FYI: Neutral numbers:
http://www.numberbases.com/neutral.html
+ 1
Rahul Kumar
If you don't know how to start, there's a Java course on sololearn.
You could get input by using a loop. Then you can use if-else if-else statements to check the numbers.
Coding Cat did not know these yet, thanks :)
Do you think that's what OP means? To me, it reads like a beginner's task.
+ 1
Hmm Lisa, I don't understand a word of what's there.
But I'm only an engineer. Perhaps the questioner is a math genius with no programming experience 🤔