Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.41 KB | None | 0 0
  1. System.out.println("Выберете блюдо и количество(название блюда/кол-во): " + "\n" );
  2. Scanner valueOrder = new Scanner(System.in);
  3. String inputValue = valueOrder.nextLine();
  4. while (!inputValue.equals("0") ){
  5.     System.out.println("Введенное значение: " + inputValue);
  6.     inputValue = valueOrder.nextLine();
  7. }
  8. System.out.println("это весь заказ");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement