Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- System.out.println("Выберете блюдо и количество(название блюда/кол-во): " + "\n" );
- Scanner valueOrder = new Scanner(System.in);
- String inputValue = valueOrder.nextLine();
- while (!inputValue.equals("0") ){
- System.out.println("Введенное значение: " + inputValue);
- inputValue = valueOrder.nextLine();
- }
- System.out.println("это весь заказ");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement