Answer:
-4??
Step-by-step explanation:
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);
}
}
The 4 litres of red has to be 2 parts of the mixture, so each part will be 2 litres. Therefore 3 parts of cream will be 6 litres and the one part of blue will be 2 litres.
In this problem, we have the following variables:
e: The weekly earnings of a salesperson
s: sales in a given week
A salesperson earns $200 a week plus a 4% commission on her sales, that is, she earns:
<em>$200 plus 0.04 of her sales in a given week</em>
In a mathematical model, this is given by:
e = 200 + 0.04s
Answer:
$55.80
Step-by-step explanation:
First, find how much Janet saved by finding 1/5 of 15.50:
15.50/5
= 3.1
Find how much Rob saved by multiplying 3.1 by 12:
3.1(12)
= 37.2
Then, find the total saved amount by adding them all together:
15.50 + 3.1 + 37.2
= 55.8
So, they saved $55.80 in total