Nievad UE
Nievad UE
class AmountDueNieva {
totalPrice -= discount;
import java.util.Scanner;
System.out.println("Press any of the following then enter values separated by spaces: ");
switch (choice) {
case 1:
break;
case 2:
price = scanner.nextDouble();
break;
case 3:
price = scanner.nextDouble();
quantity = scanner.nextInt();
break;
default:
System.out.println("Invalid Choice");
break;
scanner.close();