律师网站 java,律师事务所项目的java代码

A law firm handles cases of two categories I.e. either minor or major. Each and every case is assigned a lawyer. The case is either open or closed. Before a case is closed, the lawyer can either win it or lose. For each case, the client should pay an amount that should be set by the law firm. The amount paid for a minor case costs the client ¾ of the amount for major cases. If a case is lost, the firm reduces the client’s pay by 10% the price for a major case. The firm is trying to evaluate the lawyers’ performance through the following criteria.

1.For every major case assigned, the lawyer gets 3 points

2.For every minor case assigned, the lawyer gets 5 points

3.For every case lost, the lawyer loses 4 points

4.For every case won. The lawyer gains 4 points

Write a java program that will enable the firm to enter the amount of money clients are supposed to pay for the major cases. The system should enable the firm to register lawyers, register new cases, register clients, close the cases that are either won or lost, and assign lawyers to cases. The program should display the following on request

1.Show how many cases were lost and how many were won

2.The best and worst performing lawyer

3.Display the amount of money received from all the closed cases

4.For a given lawyer, how much money will was generated from all his closed cases

5.How much money the firm has lost through losing cases

解决方案

Don''t listen to them, I''ll start you off and then you just need to fill in the blanks:

package kibuule.legal;

public class LawFirm {

public static void main(String[] args) {

//code goes here

}

}

We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think!

It does not work like this here.

Here is what is expected of enquirers:

1. TRY firstwhat you want to do! You may find that it''s not that hard.

2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.

Members will be more than happy to help like this.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值