Answer:
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);
}
}
1.75-0.8= 0.95m
0.95/2. to get equal halves would be 0.475m just under half a meter
Answer:
Addition of 323+412 = 1240 at base 5
Step-by-step explanation:
We have to add 323+412 on base 5
As we have to use base 5 for addition so we can use only numbers 0,1,2,3.4 and 5 as we use 0,1,2,3,4,5,6,7,8,9,10 in decimal when base is 10
Means in addition of sum is greater than 5 then we have to take carry as in base 10 we take carry if the sum is greater than 10
So sum 323+412 = 1240
700 + 9 + .1 + .04
Hope this helps that the answer