Codehs 2.5.8 more operations i need
the assignment is
let’s look at a calculator class...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 17.11.2019 22:31 elmo4851
Codehs 2.5.8 more operations i need
the assignment is
let’s look at a calculator class. we have a calculator class that allows us to add, subtract, multiple, and divide doubles.
in the main method, ask for two doubles. then
print the sum, difference, product, and quotient.
for example, your output should look like this
(you can call nextdouble twice in a row to get two numbers)
enter two doubles
3.4
1.6
3.4 + 1.6 = 5.0
3.4 - 1.6 = 1.78
3.4 * 1.6 = 5.44
3.4 / 1.6 = 2.125
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/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, 22.06.2019 10:40
When running anti-virus software , what could be a reason where recipitent is not guaranteed that data being streamed will not get interrupted?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 12:30
Which of the choices sean are not true when considering virus behavior
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 18:30
Which of the following commands is more recommended while creating a bot?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 20:30
If chris has a car liability insurance, what damage would he be covered for
Answers: 1
You know the right answer?
Questions
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/es.png)
Spanish, 01.06.2021 20:40
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 01.06.2021 20:40
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 01.06.2021 20:40
![question](/tpl/images/cats/mat.png)
Mathematics, 01.06.2021 20:40
![question](/tpl/images/cats/mat.png)
Mathematics, 01.06.2021 20:40
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mkx.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 01.06.2021 20:40
![question](/tpl/images/cats/istoriya.png)
History, 01.06.2021 20:40
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 01.06.2021 20:40