Home > Back-end >  Java small white a small white to ask questions
Java small white a small white to ask questions

Time:10-24

Just learn a switch statement.
An outward bound training determine price discount

Int money=sc. NextTnt ();

The switch (money/200)

Sase: 0 syso (less than 200 discount money); break;

Sase: 1 syso (eighty percent), money is more than 200 dozen; break;

Here (money/200) inside/number is what meaning, is to determine the output price for?

CodePudding user response:

Devide
  • Related