public class Aman
public static void main(String args)
// Variables for holding order amount and valued customer data to be
// entered by the user
// Variables for holding information about free shipping
// Prompt for and read order amount and valued customer data
System.out.print(“Order amount (floating-point): “);
Scanner Keyboard= new Scanner(System.in);
System.out.print(“Valued customer? (Y)es or (N)o: “);
valuedCust = Keyboard.nextChar();
// Determine and display information about free shipping.
// Shipping is free if the order amount is greater than or equal $100
// AND the customer is a valued customer.
isFree = (amount >= 100 && (valuedCust == ‘Y’ || valuedCust == ‘y’));
System.out.println(” Free shipping? ” + isFree);