永发信息网

爪哇高手帮助

答案:2  悬赏:70  手机版
解决时间 2021-04-30 16:44
  • 提问者网友:你挡着我发光了
  • 2021-04-29 16:04
Write a program to input the cost of fuel put in the car each day of the (working)
week, then compute the total cost and the average cost, and display the results of
the two computations
You should write two classes to model the system. An application class Driver
containing the main method, and a class StatisticsCalculator storing five attributes, one for each day of the (working) week, storing the cost of fuel for that day. Such class will have the responsibility to compute the two required numerical outputs: the total cost of fuel and the average daily expenditure (as results of methods with the same name). The class will also have its own constructor to set up the values of the class attributes.
最佳答案
  • 五星知识达人网友:青灯有味
  • 2021-04-29 16:19

you should do your homework by yourself.


Or, you can pay others to do it for you.

全部回答
  • 1楼网友:上分大魔王
  • 2021-04-29 17:05
让你写俩类算总数和平均数
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯