Teacher, I used this method for this question. It's not that members can't output it. Please comment what is wrong?
阿智
阿智 2019-09-28 21:00:43
0
1
1436

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);                                     –    

阿智
阿智

reply all(1)
杰瑞米

It’s not that the member’s else position is wrong. There should be another one above the else}

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template