文件名称:jisuanqi
-
所属分类:
- 标签属性:
- 上传时间:2017-05-18
-
文件大小:15.21kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
编写复数运算的Application程序:
(1)设计复数类Complex,具有实部、虚部两个属性,能完成复数的加、减、乘三种运算。
(2)使用Application创建一图形用户界面程序,界面如下,程序运行时,用户可在“复数1”后面的对应文本框中输入第一个复数的实部和虚部,在“复数2”后面的对应文本框中输入第二个复数的实部和虚部,在“运算符”后面的文本框中输入“+”或“-”或“*”运算符号,当用户按下“ ”按钮后,程序调用复数类Complex的对应方法,将运算结果(计算得到的复数的实部和虚部)显示在其后排列的两个文本框中。-The Application program for writing complex numbers:
(1) designing complex class Complex, which has two attributes, real, imaginary and imaginary, and can complete three operations of addition, subtraction and multiplication of complex numbers.
(2) the use of Application to create a graphical user interface, the interface is as follows, when the program is running, the user can be in the real and imaginary parts of the first input text box corresponding to plural plural 1 behind the real and imaginary second complex input text box corresponding to a plurality of 2 behind the in the operator , the textbox input + or - or * symbol of operation, when the user presses the button, the corresponding method of procedure call complex class Complex, the result of the operation (the real and imaginary part of the complex calculation result of the display in the two text later) arranged in the box.
(1)设计复数类Complex,具有实部、虚部两个属性,能完成复数的加、减、乘三种运算。
(2)使用Application创建一图形用户界面程序,界面如下,程序运行时,用户可在“复数1”后面的对应文本框中输入第一个复数的实部和虚部,在“复数2”后面的对应文本框中输入第二个复数的实部和虚部,在“运算符”后面的文本框中输入“+”或“-”或“*”运算符号,当用户按下“ ”按钮后,程序调用复数类Complex的对应方法,将运算结果(计算得到的复数的实部和虚部)显示在其后排列的两个文本框中。-The Application program for writing complex numbers:
(1) designing complex class Complex, which has two attributes, real, imaginary and imaginary, and can complete three operations of addition, subtraction and multiplication of complex numbers.
(2) the use of Application to create a graphical user interface, the interface is as follows, when the program is running, the user can be in the real and imaginary parts of the first input text box corresponding to plural plural 1 behind the real and imaginary second complex input text box corresponding to a plurality of 2 behind the in the operator , the textbox input + or - or * symbol of operation, when the user presses the button, the corresponding method of procedure call complex class Complex, the result of the operation (the real and imaginary part of the complex calculation result of the display in the two text later) arranged in the box.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
jisuanqi/
jisuanqi/Cal$1.class
jisuanqi/Cal$10.class
jisuanqi/Cal$11.class
jisuanqi/Cal$12.class
jisuanqi/Cal$13.class
jisuanqi/Cal$14.class
jisuanqi/Cal$15.class
jisuanqi/Cal$16.class
jisuanqi/Cal$17.class
jisuanqi/Cal$2.class
jisuanqi/Cal$3.class
jisuanqi/Cal$4.class
jisuanqi/Cal$5.class
jisuanqi/Cal$6.class
jisuanqi/Cal$7.class
jisuanqi/Cal$8.class
jisuanqi/Cal$9.class
jisuanqi/Cal.class
jisuanqi/Cal$1.class
jisuanqi/Cal$10.class
jisuanqi/Cal$11.class
jisuanqi/Cal$12.class
jisuanqi/Cal$13.class
jisuanqi/Cal$14.class
jisuanqi/Cal$15.class
jisuanqi/Cal$16.class
jisuanqi/Cal$17.class
jisuanqi/Cal$2.class
jisuanqi/Cal$3.class
jisuanqi/Cal$4.class
jisuanqi/Cal$5.class
jisuanqi/Cal$6.class
jisuanqi/Cal$7.class
jisuanqi/Cal$8.class
jisuanqi/Cal$9.class
jisuanqi/Cal.class
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.