![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 12.02.2021 01:00 OkK1510
Create a class called MathTest Outside of the class, import the Scanner library Create a method called main Inside main: 1. Declare two integer variables and two double variables 2. Instantiate a Scanner object 3. Using print, display two lines that allows the user to enter in the two integer values on the same line as the prompt. 4. Using print, display two lines that allows the user to enter in the two double values on the same line as the prompt. 5. Using multiple printf statements, display the result of adding, subtracting, multiplying, dividing and moding the two integer values. 6. Using multiple printf statements, display the result of adding, subtracting, multiplying, and dividing the two double values. 7. Make sure that there is a title before each of the two outputs and there are blank lines between the input section and the two output sections. 8. Comment your code.
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/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 05:10
Read the code below. what will the computer print if the input for year_variable is 1700? if year_variable == 1776: print("your answer is correct. the declaration of independence was signed in “year_variable”.") elif year_variable < 1776: compute_variable = 1776 - year_variable. print("add “compute_variable“ years to your answer for the correct answer.") elif year_variable > 1776: compute_variable = year_variable - 1776 print("subtract “compute_variable” years from your answer for the correct answer.")
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 19:30
Singing in the rain: this first part of the film shows the early history of motion picture. how accurate do you think the portrayal of the early motion picture industry is? why? is historical accuracy important in films and theater productions? explain.
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 08:10
Why should the technician watch for signs of contamination in the oil when recovering refrigerant from a system
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 19:00
Which of the following is used to manage the objects in a database? a. file tab b. navigation pane c. window controls d. the ribbon
Answers: 1
You know the right answer?
Create a class called MathTest Outside of the class, import the Scanner library Create a method call...
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 26.06.2020 16:01
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 26.06.2020 16:01
![question](/tpl/images/cats/mat.png)
Mathematics, 26.06.2020 16:01
![question](/tpl/images/cats/mat.png)
Mathematics, 26.06.2020 16:01
![question](/tpl/images/cats/mat.png)
Mathematics, 26.06.2020 16:01
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 26.06.2020 16:01
![question](/tpl/images/cats/mat.png)
Mathematics, 26.06.2020 16:01
![question](/tpl/images/cats/biologiya.png)
Biology, 26.06.2020 16:01
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 26.06.2020 16:01
![question](/tpl/images/cats/health.png)
Health, 26.06.2020 16:01
![question](/tpl/images/cats/mat.png)
Mathematics, 26.06.2020 16:01
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 26.06.2020 16:01
![question](/tpl/images/cats/mat.png)