Question

PLEASE WRITE IN 80X86 ASSEMBLY LANGUAGE Write a program that asks the user to enter their...

PLEASE WRITE IN 80X86 ASSEMBLY LANGUAGE

Write a program that asks the user to enter their monthly costs for each of the following housing-related expenses: rent or mortgage payment utilities phones cable The program should then display the total monthly cost of these expenses and the total annual cost of these expenses.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

rent = int(input("Enter rent or mortgage payment:"))
utilities = int(input("Enter the amount for utilities:"))
phones = int(input("Enter phone bill:"))
cable = int(input("Enter cable bill:"))
monthly = rent + utilities + phones + cable
print("Monthly total cost of expenses is", monthly)
print("Annual total cost of expenses is", 12*monthly)

SAMPLE OUTPUT:-
Enter rent or mortgage payment: 1000
Enter the amount for utilities: 1500
Enter phone bill: 200
Enter cable bill: 300
Monthly total cost of expenses is 3000
Annual total cost of expenses is 36000

Add a comment
Know the answer?
Add Answer to:
PLEASE WRITE IN 80X86 ASSEMBLY LANGUAGE Write a program that asks the user to enter their...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT