1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Lerok [7]
3 years ago
15

A video club wants to reward its best members with a discount based on the member’s number of movie rentals and the number of ne

w members referred by the member. The discount is in percent and is equal to the sum of the rentals and the referrals, but it cannot exceed 75 percent. (Hint: Math.min.) Write a program DiscountCalculator to calculate the value of the discount.
Mathematics
1 answer:
ivanzaharov [21]3 years ago
8 0

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);

}

}

You might be interested in
Figure ABCD is transformed to obtain figure A′B′C′D′:
Kisachek [45]

Step-by-step explanation:

part A:

ABCD is transformed to obtain figure A′B′C′D′:

1) by reflection over x-axis, obtain the image :

A(-4,-4) B(-2,-2) C(-2, 1) D(-4, -1)

2) by translation T (7 0), obtain the image :

A'(3,-4) B'(5,-2) C'(5, 1) D'(3, -1)

part B:

the two figures are congruent.

the figures that transformed by reflection either or translation will obtain the images with the same shape and size (congruent)

6 0
3 years ago
Jsjbdiekek easy mathssss
aivan3 [116]

Answer: 6*x*y

Step-by-step explanation:

u have to do 2*3 first

7 0
3 years ago
Read 2 more answers
HELP ME I NEED THE RIGHT ANSWER​
Annette [7]

Answer:

the slope is positive 10

5 0
3 years ago
How many real solutions x^2+x-30=0?
VashaNatasha [74]

Answer:

The final solution is all the values that make (x-6)(x+5)=0 true.

x=6, -5

8 0
2 years ago
Complete the tables below by using the properties of operations (help)
disa [49]

Answer:

-3(4x+3)+5x (Given)                                    1/2 (6k+10)+5k  (given)

-12x-9+5x  (distribution)                             3k+5+5k (distribution)

-12x+5x-9  (associative)                              3k+5k+5 (associative)        

-7x-9 (Combine like terms)                         8k+5 (combine like terms)

Step-by-step explanation:

6 0
2 years ago
Other questions:
  • What is the solution to the following equation? (4 points) 5(2x − 6) + 20 = 10 Group of answer choices
    8·1 answer
  • I really need help with all the questions
    5·1 answer
  • G(x) = 2x^2 and h(x) = .What is (g h)-1 and is it a function?
    6·2 answers
  • How do i find the slope to (-2,8),(10.-4)
    13·1 answer
  • Which statements describe the function f(x)=2x+24/x^2+4x-96? Check all that apply.
    9·2 answers
  • Annette, Barb, and Carlita work in a clothing shop. One day the three had combined sales of $1480. Annette sold $120 more than B
    5·1 answer
  • Jonah and his friends go apple picking. Jonah fills 5 baskets.Each basket holds 15 apples.If 4 of Jonahs friend pick the same am
    14·1 answer
  • A 50 square inch model of a forest is built where one square inch equals one square mile. If the forest has approximately 35 pin
    15·1 answer
  • If the points (1, -4) and (-1, r) and lie on a line whose slope is 5, what does r equal?
    11·1 answer
  • Jessica is solving the equation 5x - 2(x-1) = 10.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!