Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Java by phucbontu ( 6 years ago )
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package jlp0023;

/**
 *
 * @author lovei
 */
public class JLP0023 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        Management man = new Management();
//loop until user want to exit
        while (true) {
            int choice = man.menu();
            switch (choice) {
                case 1:
                    man.createFruit();
                    break;
                case 2:
                    man.viewOrder();
                    break;
                case 3:
                    man.shopping();
                    break;
                case 4:
                    return;
            }
        }
    }
}

 

Revise this Paste

Your Name: Code Language: