0

Write a program to input 10 number and check they are positive negative or neutral

7th Nov 2021, 2:23 PM
Rahul Kumar
Rahul Kumar - avatar
6 Answers
+ 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!!! đŸ€“
7th Nov 2021, 5:00 PM
Lisa
Lisa - avatar
+ 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.
7th Nov 2021, 4:45 PM
Lothar
Lothar - avatar
+ 1
I was thinking a DR or Norwegian flag as a neutral number
7th Nov 2021, 5:08 PM
Rellot's screwdriver
Rellot's screwdriver - avatar
7th Nov 2021, 5:40 PM
Coding Cat
Coding Cat - avatar
+ 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.
7th Nov 2021, 5:58 PM
Lisa
Lisa - avatar
+ 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 đŸ€”
7th Nov 2021, 6:06 PM
Coding Cat
Coding Cat - avatar