March 30, 2015

Homework Help: computer science

Posted by icysnow on Monday, October 15, 2012 at 12:47am.

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

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

Answer this Question

First Name:
School Subject:

Related Questions

Computer Science - 1.Write an Assembly program that reads in a number of cents. ...
College Algebra - 'rental miles: it cost 27.95 per day plus 0.15 per mile to ...
Algebra - A car rental company charges $24 per day plus $0.75 per mile driven. a...
math - Bay Area Rental Cars charges $18 a day and $.14 per mile for renting a ...
Math - Joel rented a car for 14 days , his total bill was 1,239 .how much did ...
FInite Math - A car rental agency has rental and return facilities at both ...
Agebra 1 - A rental car charges $25.00 per day plus $.30 for every mile the car ...
math - Renting a Car A rental car costs $25 plus $0.25 per mile. (a) Write an ...
math - A Basic Car Rental charges a daily rate of $29 plus $.20 per mile. ...
algebra - a rental car costs $24 per day plus 25 cents per mile. the total trip ...