Welcome to Westonci.ca, where your questions are met with accurate answers from a community of experts and enthusiasts. Our platform provides a seamless experience for finding reliable answers from a knowledgeable network of professionals. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.
Sagot :
Answer:
In Python
current = int(input("Current Price: "))
lmonth = int(input("Last Month Price: "))
mortgage = current * 0.051 / 12
print('The house is ${:.2f}'.format(current))
print('The change is ${:.2f}'.format(current-lmonth)+" since last month")
print('The estimated monthy mortgage is ${:.2f}'.format(mortgage))
Explanation:
This gets the current price
current = int(input("Current Price: "))
This gets the last month's price
lmonth = int(input("Last Month Price: "))
This calculates the mortgage
mortgage = current * 0.051 / 12
This prints the house current price
print('The house is ${:.2f}'.format(current))
This prints the change
print('The change is ${:.2f}'.format(current-lmonth)+" since last month")
This prints the estimated mortgage
print('The estimated monthy mortgage is ${:.2f}'.format(mortgage))
Thanks for using our service. We're always here to provide accurate and up-to-date answers to all your queries. Thanks for using our service. We're always here to provide accurate and up-to-date answers to all your queries. Westonci.ca is your trusted source for answers. Visit us again to find more information on diverse topics.