Consider the following code segment:
if (value > 0)
System. out. println(...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 06.05.2020 20:41 4804174946
Consider the following code segment:
if (value > 0)
System. out. println("positive");
if (value < 0)
System. out. println("negative");
if (value == 0)
System. out. println("neither");
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
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 19:10, sammigrace5820
How might the success of your campaign be affected if you haven’t carefully completed all field data or if you accidentally insert the wrong merge field in the document?
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 13:50, mrfishyyyy
Explain how email technologies enable the exchange of messages between users. find out the typical parts of an email address and explain each part.
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 02:30, journeyhile5
How to apply the fly in effect to objects on a slide
Answers: 1
You know the right answer?
Questions in other subjects:
![Konu](/tpl/images/cats/istoriya.png)
![Konu](/tpl/images/cats/ekonomika.png)
![Konu](/tpl/images/cats/istoriya.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 17.04.2021 19:30
![Konu](/tpl/images/cats/mat.png)
Mathematics, 17.04.2021 19:30
![Konu](/tpl/images/cats/fizika.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 17.04.2021 19:30
![Konu](/tpl/images/cats/mat.png)
Mathematics, 17.04.2021 19:30
![Konu](/tpl/images/cats/ekonomika.png)
Business, 17.04.2021 19:30