1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
EleoNora [17]
3 years ago
14

2.32 LAB: Input and formatted output: House real estate summary Sites like Zillow get input about house prices from a database a

nd 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 as a floating-point value. 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.000000. 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.
Computers and Technology
1 answer:
valkas [14]3 years ago
4 0

Answer:

C++.

Explanation:

int main() {

   int current_price, last_months_price;

   // Inputs

   cin<<current_price;

   cout<<endl;

   cin<<last_months_price;

   cout<<endl;

   // Outputs

   cout<<"This house is $"<<current_price<<endl;

   cout<<"The change is $"<<(current_price - last_months_price)<<endl;

   cout<<"The estimated monthly mortgage is $"<<((current_price * 0.051) / 12);

   return 0;

}

You might be interested in
3. Which part of the computer is used<br> for typing?<br> a. Mouse<br> b. Keyboard
tatyana61 [14]

Answer:

B. Keyboard

Explanation:

Stay safe, stay healthy and blessed.

Have a good day!

Thank you

7 0
2 years ago
Read 2 more answers
A person's oral communication skills can give either a positive or negative first impression.
ratelena [41]

Answer:

true

Explanation:

oral communication can be awkward or good.

5 0
3 years ago
Consider the following code:
ycow [4]

Answer:

The num >= 0 test condition is not correct

Explanation:

The line would lead to the printing of "Your entered: " + str(num) repeatedly without stopping.

The while loop checks the condition that the "num" variable is less than zero. This condition will always be true as there is no means of resetting the value after initially inputting the value that is less than zero.

4 0
3 years ago
A developer is creating an enhancement to an application that will allow people to be related to their employer. Which data mode
vredina [299]

Answer:

B. Create a lookup relationship to indicate that a person has an employer

Explanation:

Programmers are professional who build computer softwares.

Creating a lookup relationship to indicate that a person has an employer is the data model used to track the data of a developer creating an enhancement to an application that will allow people to be related to their employer. This data model allows for 25people per object.

5 0
3 years ago
We can improve our knowledge and skills on animals and fish raising with the use of internet​
bagirrra123 [75]

Answer:

yeah that would be great

5 0
3 years ago
Other questions:
  • Privileged instructions 1) generate an interrupt so they can execute before non-privileged instructions. 2) are valid only when
    5·1 answer
  • The addElement operation for the linked implementation must determine the parent of the next node to be inserted. Why?
    5·1 answer
  • What was one complication caused by the tsunami that struck japan in 2011?
    15·1 answer
  • If you wish to sign out of your Microsoft account, tap or click ____ on the ribbon to open the Backstage view and then tap or cl
    10·1 answer
  • 4.3 Code Practice: Question 1
    12·2 answers
  • Which kind of typography focuses on the details of a character?
    10·1 answer
  • What is the difference between autofocus and autocomplete
    8·1 answer
  • What is the difference between the byte and short data types in Java?
    7·1 answer
  • Consider a game that is searched using random restart hill climbing strategy. Assume that the success rate for the game is 25%.
    12·1 answer
  • What type of malicious software technology is used to download and install software without the user's interaction?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!