登录
首页 » C# » S6-1

S6-1

于 2020-10-15 发布
0 232
下载积分: 1 下载次数: 0

代码说明:

说明:  编写一个程序,用以接受用户输入的两个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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • log4net-2.0.8-src
    说明:  Log4net.dll是著名的Apache软件为.net framework 2框架准备的支持库,方便在不同的平台上得到功能支持。(Log4net. DLL is a support library prepared by Apache software for.NET Framework 2. It is convenient to get functional support on different platforms.)
    2020-10-31 15:59:55下载
    积分:1
  • step-motor
    步进电机程序 C8051F410驱动程序(Stepper motor driver application C8051F410)
    2011-09-07 20:40:43下载
    积分:1
  • VCtestExcel
    VC++6.0操作EXCEL表格,VC,EXCEL(VC++6.0 to operate EXCEL spreadsheet, VC, EXCEL)
    2009-06-29 17:37:05下载
    积分:1
  • openh323-v1_19_0_1-htmldoc
    this is sourcecode document of h.323
    2007-02-10 02:59:57下载
    积分:1
  • CImage
     我们知道,Visual C++的CBitmap类和静态图片控件的功能是比较弱的,它只能显示出在资源中的图标、位图、光标以及图元文件的内容,而不像VB中的Image控件可以显示出绝大多数的外部图像文件(BMP、GIF、JPEG等)。因此,想要在对话框或其他窗口中显示外部图像文件则只能借助于第三方提供的控件或代码。现在,MFC和ATL共享的新类CImage为图像处理提供了许多相应的方法,这使得Visual C++在图像方面的缺憾一去不复返了。(We know that the Visual C++ the CBitmap class and static picture control function is relatively weak, it only shows the icon resources, bitmaps, cursors, as well as the contents of the metafile, rather than the Image control in VB show the vast majority of external image files (BMP, GIF,, JPEG, etc.). Therefore, I want to display external image files in a dialog or other window only by means of third party controls or code. Now, new class CImage MFC and ATL shared many of the corresponding method for image processing, which makes the Visual C++ of defects in the image is gone forever.)
    2012-05-28 11:47:09下载
    积分:1
  • ExpertPic
    网上抓取数据存入数据库,利用正则表达式自动提取表格数据(Online data capture into a database using regular expressions to automatically extract tabular data)
    2013-03-02 10:48:36下载
    积分:1
  • Gh0st1.0彼岸修改源码
    说明:  功能齐全,插件传输,免杀容易做,适合新手使用(Full-featured, plug-in transmission, kill-free and easy to do, suitable for novice use)
    2019-03-10 14:00:33下载
    积分:1
  • COMDemo
    一个简明的串口通讯例子(a simple and clear example for serial port communication)
    2004-12-01 23:35:14下载
    积分:1
  • remotecontrol
    远程屏幕控制,很好用。UDP通讯效率极高,可以与Teamviewer不相上下。(Screen remote control, very good use. UDP communication high efficiency, comparable with Teamviewer.)
    2016-05-14 22:05:03下载
    积分:1
  • syscode
    深入学习Win32系统服务开发与实例一书的源代码(In-depth study the source code of the Win32 system service development and examples of a book)
    2012-06-22 13:06:07下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载