简单的汽车租赁pragram [英] Simple Car Rental pragram

查看:54
本文介绍了简单的汽车租赁pragram的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始上C#课程,我们的教授并不擅长教授任何东西。我们正在使用Simply C#book(2003),但正在使用VB 2008程序,本周实验室将构建一个基本的租车应用程序。每天他们想要租用25美元,并额外收取50美元的保险费和5天内任何租金的25%折扣。唯一的问题是我们从来没有真正被教过如何对我们进行乘法运算等等,所以我正在摸不着头脑。如果这是一个超级基本的问题,那么任何有用的帮助都会很棒。但是通过阅读这本书以及我们从他那里得到的一些帮助,我绝望地迷失了。如果需要,我可以发布到目前为止我的代码。提前感谢您提供的任何帮助。

I just started a C# class and our Professor is not very good at teaching much of anything. We are using the Simply C# book (2003) but are using the VB 2008 program and this weeks lab was to build a basic Car Rental app. that would multiply by $25 for each day they wanted to rent, and charge an additional $50 bucks for insurance and a 25% discount for any rentals over 5 days. The only problem is we have never really been taught how to us multiplication or the like so I am scratching my head. Any help out there would be great I am sorry if this is a super basic problem but by reading the book and what little help we get from him I am desperately lost. I can post what code I have so far if needed. Thanks in advance for any and all help.

推荐答案

25他们想租用的每一天,并收取额外费用
25 for each day they wanted to rent, and charge an additional


50美元的保险费和5天内任何租赁的25%折扣。唯一的问题是我们从来没有真正被教过如何对我们进行乘法运算等等,所以我正在摸不着头脑。如果这是一个超级基本的问题,那么任何有用的帮助都会很棒。但是通过阅读这本书以及我们从他那里得到的一些帮助,我绝望地迷失了。如果需要,我可以发布到目前为止我的代码。在此先感谢任何和所有的帮助。
50 bucks for insurance and a 25% discount for any rentals over 5 days. The only problem is we have never really been taught how to us multiplication or the like so I am scratching my head. Any help out there would be great I am sorry if this is a super basic problem but by reading the book and what little help we get from him I am desperately lost. I can post what code I have so far if needed. Thanks in advance for any and all help.



唯一的问题是我们从未真正教过如何对我们进行乘法运算等我在挠头。
The only problem is we have never really been taught how to us multiplication or the like so I am scratching my head.



它与5年级的工作方式相同。


5次4 = 20


int答案= 5 * 4;

It works the same as it did in 5th grade.

5 times 4 = 20

int Answer = 5 * 4 ;


这篇关于简单的汽车租赁pragram的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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