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
balandron [24]
3 years ago
12

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.045) / 12. in coral
Engineering
1 answer:
grandymaker [24]3 years ago
6 0

Complete Question

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.045) / 12. 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 $750.

Use Coral Programming Language

Answer:

// Program is written in Coral Programming Language

// Comments are used for explanatory purpose

// Program starts here

// Variable declaration

int currentprice

int prevprice

int change

float mortgage

Put "Enter current price to output" to output

currentprice = Get next input

Put "Enter last month price to output" to output

prevprice = Get next input

// Calculate Change since last month

change = currentprice - prevprice

// Calculate Monthly Mortgage

mortgage = currentprice * 0.045 / 12

// Print Results

Put "This house is $" to output

Put currentprice to output

Put "\n" to output

Put "This change is $" to output

Put change to output

Put "\n" to output

Put "This house is $" to output

Put currentprice to output

Put "since last month\n" to output

Put "This estimated monthly mortgage is $" to output

Put mortgage to output

// End of Program

You might be interested in
What is noise definition in physics<br><br>​
Bess [88]

Answer:

Noise or sound is the energy produced by sounding object which can be felt by our hearing organs .

Explanation:

Noise is produced by vibration in a body.

4 0
3 years ago
A 1 phase load operates at 600 V and consumes 75 kW with a 0.85 lagging power factor. Compute the complex power consumed by the
Free_Kalibri [48]

Answer:

Complex power=84 W

Explanation:

using equation

s=vs^2/2z

s=600^2/2z

s=84+29.4j

using s=P+jq

complex power=P=84 W

8 0
4 years ago
Read 2 more answers
Often an attacker crafts e-mail attacks containing malware designed to take advantage of the curiosity or even greed of the reci
Mademuasel [1]

Answer:

1) The ethical act Amy should display is to open the Email since it came in through her personal inbox. However, further action should not be taken since ordinarily opening the mail will not disclose or corrupt her system either locally of her system on the server and web space.

2)  If such email came in, the first action i will take is to open the mail then take a pause to read through the instruction because most scam or malware comes with an array of further instructions.

After carefully reading through, i will call up Davey to confirm if he sent such mail which answer will obviously be a No and in the case where i am unable to get a call through to Davey, i will immediately delete the mail from my inbox to avoid the mistake of clicking any embedded link within the mail.

5 0
3 years ago
A solid cylindrical workpiece made of 304 stainless steel is 150 mm in diameter and 100 mm is high. It is reduced in height by 5
goblinko [34]

Answer:

45.3 MN

Explanation:

The forging force at the end of the stroke is given by

F = Y.π.r².[1 + (2μr/3h)]

The final height, h is given as h = 100/2

h = 50 mm

Next, we find the final radius by applying the volume constancy law

volumes before deformation = volumes after deformation

π * 75² * 2 * 100 = π * r² * 2 * 50

75² * 2 = r²

r² = 11250

r = √11250

r = 106 mm

E = In(100/50)

E = 0.69

From the graph flow, we find that Y = 1000 MPa, and thus, we apply the formula

F = Y.π.r².[1 + (2μr/3h)]

F = 1000 * 3.142 * 0.106² * [1 + (2 * 0.2 * 0.106/ 3 * 0.05)]

F = 35.3 * [1 + 0.2826]

F = 35.3 * 1.2826

F = 45.3 MN

7 0
3 years ago
Does anybody want 20 points? They're free get 'em while ya can...
DedPeter [7]

Answer:

hi

Explanation:

4 0
3 years ago
Read 2 more answers
Other questions:
  • Which system of measurement is used widely throughout the world despite ethnicity, language, or nationality (except 3 countries)
    7·1 answer
  • An 800-kg drag racer accelerates from rest to 390 km/hr in 5.8 s. What is the net impulse applied to the racer in the first 5.8
    10·1 answer
  • In business applications, you are often asked to compute the mean and standard deviation of data. The mean is simply the average
    9·1 answer
  • Two point charges of values +2.0 and +5.5 μC, respectively, are separated by 0.50 m. What is the potential energy of this 2-char
    11·2 answers
  • A task is something that you can physically do.
    11·2 answers
  • A gas turbine power plant is being designed using an air-standard Brayton cycle. Air enters the compressor with a volumetric flo
    11·1 answer
  • Fill in the Blank
    6·1 answer
  • If you are working with an extension ladder that has 15 rungs in each of the two sliding sections, this
    12·1 answer
  • What are some advantages of making electronic components like transistors increasingly smaller? (40 POINTS) Pls help
    9·1 answer
  • (20%) machining appears to play an important role in the manufacturing of this phone housing, but machining is a relatively slow
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!