![Computers and Technology](/tpl/images/cats/informatica.png)
Computers and Technology, 01.02.2021 21:40, b2cutie456
LAB: Input and formatted output: House real estate summary
Sites like Zillow get input about house prices from a database and provide nice summaries for readers. Write a program with two inputs, current price and last month's price (both integers). Then, output a summary listing the price, the change since last month, and the estimated monthly mortgage computed as (currentPrice * 0.051) / 12 (Note: Output directly. Do not store in a variable.).
Ex: If the input is:
200000 210000
the output is:
This house is $200000. The change is $-10000 since last month.
The estimated monthly mortgage is $850.0.
Note: Getting the precise spacing, punctuation, and newlines exactly right is a key point of this assignment. Such precision is an important part of programming.
import java. util. Scanner;
public class LabProgram {
public static void main(String[] args) {
Scanner scnr = new Scanner(System. in);
int currentPrice;
int lastMonthsPrice;
currentPrice = scnr. nextInt();
lastMonthsPrice = scnr. nextInt();
/* Type your code here. */
}
![answer](/tpl/images/cats/otvet.png)
Answers: 1
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 10:30, JeroMii
Think about a recent customer service experience - either positive or negative. write a brief summary of that experience. now think about those four characteristics we look for in customer service representatives. how did the representative in your example stack up? write down your answer and give specific examples.
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 10:30, ilovepickles930
What can tanya do now to start preparing for the college and scholarship application process? think about her grades, activities in which she can get involved, possible part-time jobs at which she can work, and standardized tests she can take. (10 points) apex
Answers: 2
Do you know the correct answer?
LAB: Input and formatted output: House real estate summary
Sites like Zillow get input about house...
Questions in other subjects:
![Konu](/tpl/images/cats/mat.png)
Mathematics, 23.06.2019 17:50
![Konu](/tpl/images/cats/fizika.png)
Physics, 23.06.2019 17:50
![Konu](/tpl/images/cats/biologiya.png)
Biology, 23.06.2019 17:50
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 23.06.2019 17:50
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/ekonomika.png)
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/himiya.png)
Chemistry, 23.06.2019 17:50