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)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 21.06.2019 16:00
How do i draw hello world in python and how do i make it loop?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 20:00
When you mouse over and click to add a search term this(these) boolean operator(s) is(are) not implied. (select all that apply)?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 22:30
Which of the following factors would your hypothetical supervisor look at when deciding whether to test a biological material sample for dna? the amount of other evidence you have implicating a suspect in a crime the annual budget for the crime lab both of the above none of the above; you would almost always order a test
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 23:00
Which type of tab stop is most for weights and measurements?
Answers: 1
You know the right answer?
Questions
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 12.10.2019 10:30
![question](/tpl/images/cats/en.png)
English, 12.10.2019 10:30
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 12.10.2019 10:30
![question](/tpl/images/cats/mat.png)
Mathematics, 12.10.2019 10:30
![question](/tpl/images/cats/mat.png)
Mathematics, 12.10.2019 10:30
![question](/tpl/images/cats/biologiya.png)
Biology, 12.10.2019 10:30
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/nemec.png)
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/en.png)
English, 12.10.2019 10:30
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 12.10.2019 10:30
![question](/tpl/images/cats/ekonomika.png)
Business, 12.10.2019 10:30
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 12.10.2019 10:30