Answer:
He squared the numbers inside without following the appropriate rule
Step-by-step explanation:
<u>what he should have done </u>
<u />
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);
}
}
Answer:
The TV set is 26in by 12in, with the high being 12in.
Step-by-step explanation:
Length=26
Height =Length-14
Height=26-14
Height=12