Friday
December 19, 2014

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
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

Answer this Question

First Name:
School Subject:
Answer:

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 ...
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 - Bay Area Rental Cars charges $18 a day and $.14 per mile for renting a ...
math - An economy car rented in Florida from XYZ Rental on a weekly basis costs...
Algebra - The XYZ Car Rental Agency charges a flat rate of $29 per day plus $.32...
Algebra - A car rental company charges $24 per day plus $0.75 per mile driven. a...
math - ent-4-wheels makes a profit of $12 per day for each car rented, and loses...
Probability - rent-4-wheels makes a profit of $12 per day for each car rented, ...

Search
Members