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
Say that every single class in Full Sails Masters Degree in Game Design has a 5% failure rate
natka813 [3]
The monthly failure rate is q = 5% = 0.05
The monthly pass rate is p = 1 - q = 0.95

We want to determine the probability of 12 passes in 12 consecutive months for a student.
P(12 of 12 successes) = ₁₂C₁₂ p¹² q⁰ = 0.95¹² = 0.5404.

Therefore if we have 100 students, the number that gets through 12  consecutive months is
100*005404 = 54 students.

Answer: 54 students are left after 12 months.
6 0
3 years ago
No explanation needed, just correct answer please.
RoseWind [281]

Answer:

the red one

Step-by-step explanation:

7 0
3 years ago
Help needed with all pls
Olenka [21]
#5 is 5 days
40×5=200
200+150=250

20×5=100
100+150=250
3 0
3 years ago
Solve the proportion 3/x-1=5/7
Sergeeva-Olga [200]
x= \frac{4}{7}
3 0
3 years ago
A square with an area of 196 ft2 is reduced by a factor of 1/4. How long the new sides of the square?
soldier1979 [14.2K]

Answer:

49

Step-by-step explanation:

<h2><u>Lesson : Reducing by factors:</u></h2><h2><u /></h2>

Given :

196ft^2

Reduced * factor * of * \frac{1}{4}

When you have to reduce a number by a certain factor, you must divide the area with the amount that it is reducing from, therefore,

\frac{196}{4}

49

5 0
3 years ago
Other questions:
  • The amount of water that the girls on the basketball and soccer teams drink during one practice session is recorded in the dot p
    8·1 answer
  • jose decided to walk the 9 3/10 miles from his house to the beach. in the first hour, he walked 3 4/5 miles. in the second hour,
    8·2 answers
  • The figure in quadrant III it the coordinate plane below is a transformation of the figure in quadrant II. The figure in quadran
    13·2 answers
  • Determine the intercepts of the graph described by the following linear equation<br> y=6x+13
    15·1 answer
  • What is the area of a triangle that has 6in high and 7in of the base
    8·1 answer
  • Suppose there are 25 students in your class. If the teacher draws 2 names at random, what is the probability that you and your b
    14·1 answer
  • Solve this <br> 6x+7=8x−15
    12·2 answers
  • 1/4 + 3/8 Reduce your Answer to the lowest term? ​
    11·2 answers
  • 2. Beginning with the equation 4x =6, write the new equation produced by multiplying both sides by 8.
    9·1 answer
  • What is the area of the shaded sector?
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!