Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Anonymous
Anonymous asked in Computers & InternetProgramming & Design · 2 months ago

Java programming?

anyone can help me?

Attachment image

2 Answers

Relevance
  • ?
    Lv 7
    1 month ago

    with what? you did not mention what problem you were having.

    if you just want to know how to code it:

    https://youtube.com/watch?v=grEKMHGYyns

  • 2 months ago

        public void displayMenu() {

            System.out.println ("\t\t*******MENU*******");

            System.out.println ("Item Code\tItem Name\t\tPrice");

            System.out.println ("\t\t\t\t\tRegular\tLarge");

            System.out.println ("A\t\tCaramel Macchiato\t165\t180");

            System.out.println ("B\t\tCoffee Moccha\t\t165\t180");

            System.out.println ("C\t\tCappucino\t\t140\t155");

            System.out.println ("D\t\tWhite Chocolate Moccha\t165\t185");

            System.out.println ("E\t\tCaffe Latte\t\t140\t155");

            System.out.println ("F\t\tCaffe Americano\t\t130\t145\n");

        }

    You will need to use a scanner to input the data.

    You can use a do/while loop to input the details of each order.

    If you want further help, post your code here, along with an explanation of what it is you're having difficulty with.

Still have questions? Get your answers by asking now.