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);
}
}
Answer:
Equivalent fraction of a given fraction is got by multiplying or dividing its numerator and denominator by the same whole number. For example, if we multiply the numerator and denominator of 2/3 by 4 we get. 2/3 = 2×4 / 3×4 = 8/12 which is an equivalent fraction of 2/3.
Step-by-step explanation:
We know that the bottle of soft drink has a remaining
volume which is 2 / 3 of the original.
Since Jack drank 1 / 4 of the remaining volume, hence only
3 / 4 now finally remains, the total is:
(2 / 3) * (3 / 4) = 6 / 12 = 1 / 2
<span>Hence the bottle is now one half full</span>
Answer: the answer is 0
Step-by-step explanation: