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);
}
}
45 or a random number lol just put in 45 and see if it orks
Answer:
45
Step-by-step explanation:
12 % of the marbles are blue, and
18 % of the marbles are green, so
30 % of the marbles are either blue or green.
There are 150 marbles.
30 % × 150 = 0.30 × 150 = 45
The number of blue or green marbles is 45.
C ) 131 is the answer
in the upside-vertex (not inverted) triangle, angle to your left hand side would be equal to x (as interior alternate angles) = 68
and the angle to the right would be 180-y= 180-117 = 163 (as linear angles)
so the angle at the vertex = 180 - (68 + 163) =49 (as angles in a triangle sum upto 180)
so the angle mz = 180 - 49 = 131 degrees (as linear pair of angles or angle in a straight line)