Please Note the Definition Of php please
Answer:
integer currentPrice
integer lastMonthPrice
integer changeLastMonth
float mortagage
//Reading input
currentPrice = Get next input
lastMonthPrice = Get next input
//Calculating price change
changeLastMonth = currentPrice - lastMonthPrice
//Calculating mortagage
mortagage = (currentPrice * 0.045) / 12
//Printing output
Put "This house is $" to output
Put currentPrice to output
Put "\nThe change is $" to output
Put changeLastMonth to output
Put " since last month." to output
Put "\nThe estimated monthly mortgage is $" to output
Put mortagage to output
There is a variable, state_capitals, that refers to a dictionary that maps U.S. states to their capitals, and another dictionary, provincial_capitals, that maps Canadian provinces to their capitals. Associate a dictionary that maps states or provinces to their respective capitals with a variable, regional_capitals.
Explanation:
The below code is done in python.
{provincial_capitals.keys} + (state_capitals.keys) == regional_capitals
regional_capitals = {}
regional_capitals.update(state_capitals)
regional_capitals.update(provincial_capitals)