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);
}
}
Remember,
To subtract 2/3-1/2 you have to make them equivalent
2/3×2-1/2×3 = 4/6 - 3/6=
1/6
Answer:
4.9x10^4
Step-by-step explanation:
4.9*10000=49,000