Sammys Seashore Supplies rents beach equipment to tourists. In previous chapters, you developed a class that holds

Question:

Sammy’s Seashore Supplies rents beach equipment to tourists. In previous chapters, you developed a class that holds equipment rental information and an application that tests the methods using three objects of the class. Now modify the RentalDemo class to do the following:

  • Continuously prompt for the number of minutes of each Rental until the value falls between 60 and 7,200 inclusive.
  • For one of the Rental objects, create a loop that displays Coupon good for 10 percent off next rental as many times as there are full hours in the Rental. Save the modified file as RentalDemo.java.
Coupon
A coupon or coupon payment is the annual interest rate paid on a bond, expressed as a percentage of the face value and paid from issue date until maturity. Coupons are usually referred to in terms of the coupon rate (the sum of coupons paid in a...
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Java Programming

ISBN: 978-1337397070

9th edition

Authors: Joyce Farrell

Question Posted: