Answer:
public class MovieRental
{
public static void main(String[] args)
{
Scanner in = new Scanner(System.in);
System.out.print("Enter the number of movie rentals: ");
int movieRentals = in.nextInt();
System.out.print("Enter the number of members referred to the video club: ");
int memberReferral = in.nextInt();
in.close();
double discountVal = Math.min(movieRentals + memberReferral, 75);
System.out.println("The discount is equal to: " + discountVal);
}
}
The answer to your problem is: 122.32
Answer:
Step-by-step explanation:
3 times 60 = 180 minutes
10 * 60 = 600 minutes
600/20 = 30 * 3 = 90 hours
(9.6 x 10^3) (6.7 x 10^2)
(9,600) (670)
6,432,000
6.432 x 10^6
Answer:
6.432 x 10^6