你能帮我写这个吗?披萨公司的多线程应用程序(java) [英] Can you write this for me? Multithreaded application for pizza company(java)

查看:102
本文介绍了你能帮我写这个吗?披萨公司的多线程应用程序(java)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你能为我写这个吗? Pizza公司的多线程申请。公司为浦那的100个地区提供送货上门服务,拥有约35家分店。区域被识别为区号100001,100002等.100001和100002之间的距离是2Km,所需时间覆盖距离是1分钟。多个用户订购披萨,定制配料如橄榄,额外的奶酪等和地址。应用程序接收订单并将订单路由到用户输入的区域的最近的出口。如果最近的出口需要超过15分钟才能到达目的地,系统会拒绝订单。



Eg输入:

名称:Kirti,

地址:Flat no 11,ABC,区号: 100038

披萨 - 玛格丽塔

浇头 - 橄榄,西葫芦,奶酪



例如输出: - 订单发送到outlet 100040,订购详情和金额



我的尝试:



Can you write this for me? multithreaded application for Pizza company. Company provides home delivery service to 100 areas in Pune and has around 35 outlets. The areas are identified area code 100001 , 100002 etc. Distance between 100001 and 100002 is 2Km and time required cover distance is 1 minutes . Multiple users put order for pizza with customised toppings like Olives, extra cheese etc. and address. Application receives order and route the order to nearest outlet to the area entered by user. System declines the order if nearest outlet takes more than 15 minutes to reach the destination.

Eg Input :
Name: Kirti ,
Address: Flat no 11, ABC , Area Code : 100038
Pizza - Margarita
Toppings - Olive, Zucchini, Cheese

Eg Output: - Order routed to outlet 100040 , Order details and amount

What I have tried:

class Pizza {

    }
class Customer{
    public static void main(String args[]){

        User user= new User();

    }
}

推荐答案

不,我们不打算写你的作业申请表您。你认为根据其他人的工作获得学位是否正确?
No, we are not going to write your homework application for you. Do you think it is right to get a degree based on other people's work?


这篇关于你能帮我写这个吗?披萨公司的多线程应用程序(java)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆