import java.util.Scanner;
public class IfElse01 {
public static void main(String[] args) {
/*Exercise: Ordinary customers get a 10% discount on purchases over 100 yuan, members shop 8.50% off
Members will receive a 25% discount on purchases over 200 yuan, and the total amount will be output at the end.
*/
. ‐ to Scanner input = new (System.in); –
杰瑞米2021-01-07 17:59:48
It’s not that the member’s else position is wrong. There should be another one above the else}