文件名称:S6-1
介绍说明--下载内容均来自于网络,请自行研究使用
编写一个程序,用以接受用户输入的两个double类型的值。一个值表示用户想要存放在银行账户中的金额。另一个值表示用户想要从银行账户中提取的金额。创建自定义异常,以确保提取的金额始终小于或等于当前的余额。引发异常时,程序应显示一则错误消息。否则,程序应显示从用户存款中扣除取款额之后的账户余额。(Write a program to accept the value of two double types that the user enters. A value represents the amount the user wants to store in a bank account. The other value is the amount that the user wants to extract from the bank account. Create a custom exception to ensure that the amount extracted is always less than or equal to the current balance. When an exception is caused, a program should display an error message. Otherwise, the program should show the balance of the account after deducting the amount from the user's deposit.)
相关搜索: 银行账户异常
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
S6-1\S6-1\AccountNumException.cs | 1017 | 2013-12-30 |
S6-1\S6-1\bin\Debug\S6-1.exe | 10752 | 2013-12-30 |
S6-1\S6-1\bin\Debug\S6-1.pdb | 30208 | 2013-12-30 |
S6-1\S6-1\bin\Debug\S6-1.vshost.exe | 11600 | 2013-12-30 |
S6-1\S6-1\Form1.cs | 3010 | 2013-12-30 |
S6-1\S6-1\Form1.Designer.cs | 6010 | 2013-12-30 |
S6-1\S6-1\Form1.resx | 5817 | 2013-12-30 |
S6-1\S6-1\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache | 2855 | 2013-12-30 |
S6-1\S6-1\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache | 6301 | 2013-12-30 |
S6-1\S6-1\obj\x86\Debug\S6-1.csproj.FileListAbsolute.txt | 673 | 2013-12-30 |
S6-1\S6-1\obj\x86\Debug\S6-1.csproj.GenerateResource.Cache | 975 | 2013-12-30 |
S6-1\S6-1\obj\x86\Debug\S6-1.exe | 10752 | 2013-12-30 |
S6-1\S6-1\obj\x86\Debug\S6-1.pdb | 30208 | 2013-12-30 |
S6-1\S6-1\obj\x86\Debug\S6_1.Form1.resources | 180 | 2013-12-30 |
S6-1\S6-1\obj\x86\Debug\S6_1.Properties.Resources.resources | 180 | 2013-12-30 |
S6-1\S6-1\Program.cs | 485 | 2013-12-30 |
S6-1\S6-1\Properties\AssemblyInfo.cs | 1340 | 2013-12-30 |
S6-1\S6-1\Properties\Resources.Designer.cs | 2860 | 2013-12-30 |
S6-1\S6-1\Properties\Resources.resx | 5612 | 2013-12-30 |
S6-1\S6-1\Properties\Settings.Designer.cs | 1091 | 2013-12-30 |
S6-1\S6-1\Properties\Settings.settings | 249 | 2013-12-30 |
S6-1\S6-1\S6-1.csproj | 3717 | 2013-12-30 |
S6-1\S6-1.sln | 854 | 2013-12-30 |
S6-1\S6-1.suo | 19456 | 2013-12-30 |
S6-1\S6-1\obj\x86\Debug\TempPE | 0 | 2013-12-30 |
S6-1\S6-1\obj\x86\Debug | 0 | 2013-12-30 |
S6-1\S6-1\bin\Debug | 0 | 2013-12-30 |
S6-1\S6-1\obj\x86 | 0 | 2013-12-30 |
S6-1\S6-1\bin | 0 | 2013-12-30 |
S6-1\S6-1\obj | 0 | 2013-12-30 |
S6-1\S6-1\Properties | 0 | 2013-12-30 |
S6-1\S6-1 | 0 | 2013-12-30 |
S6-1 | 0 | 2013-12-30 |