Rewrite the code in the space below so that it uses an if-else structure instead of 3 if statements.
IM struggling does anyone know how to do this
+1
Answers (1)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Consider the following code segment: if (value > 0) System. out. println ("positive"); if (value < 0) System. out. println ("negative"); if ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Home » Computers and Technology » Consider the following code segment: if (value > 0) System. out. println ("positive"); if (value < 0) System. out. println ("negative"); if (value = = 0) System. out.