can I get a UML diagram for this program test and a screen shot of the running program. please

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

can I get a UML diagram for this program test and a screen shot of the running program. please

Post by answerhappygod »

can I get a UML diagram for this program test and a screen shot of the running program. please
Can I Get A Uml Diagram For This Program Test And A Screen Shot Of The Running Program Please 1
Can I Get A Uml Diagram For This Program Test And A Screen Shot Of The Running Program Please 1 (74.06 KiB) Viewed 22 times
Can I Get A Uml Diagram For This Program Test And A Screen Shot Of The Running Program Please 2
Can I Get A Uml Diagram For This Program Test And A Screen Shot Of The Running Program Please 2 (71.78 KiB) Viewed 22 times
Can I Get A Uml Diagram For This Program Test And A Screen Shot Of The Running Program Please 3
Can I Get A Uml Diagram For This Program Test And A Screen Shot Of The Running Program Please 3 (68.78 KiB) Viewed 22 times
Can I Get A Uml Diagram For This Program Test And A Screen Shot Of The Running Program Please 4
Can I Get A Uml Diagram For This Program Test And A Screen Shot Of The Running Program Please 4 (32.75 KiB) Viewed 22 times
public interface Be v3 hop Interfce ! int MIN_AGE_FOR_ALCOHOL = 21: //Minimm age for offering alcohol drink int MAX_ORDER_FOR_ALCOHOL= 3: / *Maximm number of alcohol beverages that can be ordered within an order */ int MIN_TIHE= 8: I/earliest time for the order int MAX_TIME= 23. //latest time for the order int MAX_ERUIT = 5: 1/Maximum number of fruits that this shop offers for SMOOTHIE beverage * Checks if the time is valid (between 8 and 23 ) * @param time time represents the time * @return true if times is within the range of 8 to 23, false otherwise */ public boolean validTime (int time); I /A * checks if the number of alcohol beverages for the current order has reached the maximum * @return true if number of alcohol drints for the current order has reached the maximum, false otherwise */ public boolean eligibleFor More !): / 44 * check the valid age for the alcohol drink @param age the age @return returns true if age is more than minimum eligible age false otherwise */ public boolean validage (int age): ZA A Creates a new order NO BEVERAGE is added to the order yet @param time time of the order
order yet * @param time time of the order * @param day day of the order of type DAY * @param customer Name customer name * @param customer lge customer age */ с public void start NevOrder(int time, DAY day, String customerName, int customer Age): /** process the Coffee order for the current order by adding it to the current order * @param bevName beverage name * @param sise beverage si se * @param extraShot true if the coffee beverage has extra shot false otherwise * @param extraSyrup true if the coffee beverage has extra Syrup false otherwise public void process CoffeeOrder ( String bevName, SIZE sise, boolean extra Shot, . boolean extra Syrup) /** process the Alcohol order for the current order by adding it to the current order @paran be vlame beverage name @param si se beverage sise */ public void proces s lcoho 10 rderString bevName, SIZE sise): / process the Smoothie order for the current order by adding it to the current order @param bevName beverage name @param size beverage sise @param nus Fruits number de fruits to be added @param addProtien true if protein is added, false
* @param mmffruits number of fruits to be added * @param addProtien true if protein is added , false otherwise */ public void process SmoothieOrder( String bevName, SIZE sise, int numffruits, boolean addProtien): * locate an order based on the order number * @param or de rNo the order number * @return the index of the order in the list of Orders if found or -1 if not found */ public int findOrder(int order No); ** locates an order in the list of orders and returns the total value on the order. * @paran orderNo the order number * @returns the calculated price on this order. */ public double totalOrder Price(int orderko): 4 Calculates the total sale of all the orders for this beverage shop @return the total sale of all the orders */ public double totalMonthlySale(); sorts the orders within this bev Shop using the Selection sort algorithm */ public void sort Orders I returns Order in the list of orders at the index Notes: this method returns the shallow copy of the order
sort algorithm */ public void sort Orders(); A returns Order in the list of orders at the index Notes: this method returns the shalldy copy of the order * @return Order in the list of orders at the index * public Order getorderAtIndex (int index); 1
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply