computer science
posted by icysnow .
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
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
Respond to this Question
Similar Questions

Computer Science
1.Write an Assembly program that reads in a number of cents. The program will write out the number of dollars and cents separately. Sample Run: ? 
Agebra 1
A rental car charges $25.00 per day plus $.30 for every mile the car is driven. Dale rents a car while his own car is being repaired, and he only drives it to and from work each day. Dale drives 7 miles each way to and from work. Write … 
Algebra
A car rental company charges $24 per day plus $0.75 per mile driven. a) Let C = total cost; D = number of days and M = number of miles b) Write the equation for the total cost in terms of C, D and M c) Use the equation to determine … 
Math
Joel rented a car for 14 days , his total bill was 1,239 .how much did the rental cost each day 
College Algebra
'rental miles: it cost 27.95 per day plus 0.15 per mile to rent a car. How many miles was a car driven that was rented for one day and had a rental bill of $45.95? 
Computer programming
I am trying to write a program in C that would be used by a car rental company. This program finds the subtotal, tax amount(6%) and finally the total. The user enters in how many days the car was rented and how many miles were driven. … 
computer science
Acarrentalcompanyusesthefollowingtabletohelpcomputerentalfees. TABLE 9.3 Car Type Chevrolet Corvette Pontiac Buick Oldsmobile Cadillac Rate per Day 50.00 85.00 53.00 60.00 60.00 70.00 Rate per Mile 0.27 0.45 0.32 0.32 0.35 0.40 Write … 
computer science
Acarrentalcompanyusesthefollowingtabletohelpcomputerentalfees. TABLE 9.3 Car Type Chevrolet Corvette Pontiac Buick Oldsmobile Cadillac Rate per Day 50.00 85.00 53.00 60.00 60.00 70.00 Rate per Mile 0.27 0.45 0.32 0.32 0.35 0.40 Write … 
Math
A car rental agency charges $35 per day to rent a car and $14.95 per day for a global positioning system (GPS). Customers are charged for their full tank of gas at $3.40 per gallon. A car has a 19 gallon … 
Math
A car rental agency charges $35 per day to rent a car and $14.95 per day for a global positioning system (GPS). Customers are charged for their full tank of gas at $3.40 per gallon. A car has a 19 gallon …