View the step-by-step solution to:

Write an Assembly program to determine the correct admission price to a movie. The price of admission to a movie is $7 for kids (under 12) and $9...

5. Write an Assembly program to determine the correct admission price to a movie. The price of admission to a movie is $7 for kids (under 12) and $9 for adults. Display the correct admission fee after the user gives you the age for one person.
Sample Run #1:
? 21
9
Sample Run #2:
? 11
7
6. Write an Assembly program to determine the price of a car rental. The car being rented costs $45 per day and frequent renters get a $15 discount on the total bill. Get as input, the number of days rented and whether the user is part of the frequent renter program (have user enter 1 if they ARE a frequent renter and 0 otherwise). Display the total cost to rent the car.
Sample Run #1:
? 4
? 0
180
Sample Run #2:
? 3
? 1
120
7. Write an Assembly program to output a list of number. Read from the user a starting value and an ending value. Your program should output all integers from the starting value through the ending value.
Sample Run:
? 5
? 8
5
6
7
8

Sign up to view the entire interaction

Top Answer

The answer is... View the full answer

AssemblyProg.rtf

Program 1
Write an Assembly program to determine the correct admission price to a movie. The price of admission to a
movie is $7 for kids (under 12) and $9 for adults. Display the correct admission...

Sign up to view the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Ask a homework question - tutors are online