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
HeLp mE fast! 5 Stars and Thanks!
Mice21 [21]

Answer:

6 3/16

Step-by-step explanation:

4 9/16=73/16

1 5/8=13/8=26/16

73/16+26/16=99/16=6 3/16

8 0
3 years ago
Read 2 more answers
Please help me with number #3 and check if the others are correct please I really need help
Sveta_85 [38]
All I can say is 1 and 2 are correct.
6 0
3 years ago
Units of Capacity
marysya [2.9K]

Answer:

            \large\boxed{\large\boxed{0.2deciliter}}

Explanation:

Build your conversion factors using the conversion table:

  • 1 cup = 0.237 liters\implies 1=0.237liters/1cup

From the prefixes used in the metric system, you know that 1 deciliter = 0.100 liters. Then:

  • 1 deciliter = 0.100 liters\implies 1=1deciliter/0.100liters

Arrange the expression to simplify the units and convert from cups to deciliters:

  • 9cups\times 0.237liters/cup\times 1deciliter/0.100liters=0.2133deciliter

Round to the nearest tenth: 0.2 deciliter.

4 0
4 years ago
Read 2 more answers
A rectangular safe can hold 5,184 cubic inches. Gold bars that are 3 inches by 6 inches by 2 inches fit to completely fill the s
julsineya [31]

Volume = length x width x height:

Volume = 3 x 6 x 2 = 36 cubic inches.

5 0
3 years ago
Read 2 more answers
Evaluate. 75-2(9-5)²+2³
Andreyy89
75-2(9-5)^2+2^3

First, solve the parentheses:

75-2(4)^2+2^3

Next, the exponential terms

75-2(16)+8

Solve the multiplication:

75-32+8

Add and subtract:

51

5 0
1 year ago
Other questions:
  • 4.4 mi/h how many ft/s
    13·1 answer
  • What is 1 plus -1/8????????
    5·2 answers
  • WILL GIVE BRAINLIEST!!
    14·1 answer
  • Ordenar de mayor a menor los números racionales <br><br>​
    9·1 answer
  • How many parallel lines does a regular pentagon have?
    11·1 answer
  • Please help ASAP!!!!!!!!!!!!!
    5·1 answer
  • I need to know the answer please
    8·1 answer
  • Isaac invested $1,800 in an account paying an interest rate of 4.7%
    15·2 answers
  • What is the percent of change if 38 is decreased to 25? round to the nearest whole number
    15·1 answer
  • Pls help due in 2 hours
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!