(javaimplementationcalculator,importjava.awt.*importjava.awt.event.*importjavax.swing.*publicclassJiSuanQi{FramefLabellabButton[]bt=newButton[29]JTextFieldtStringBufferstr//displaycharacterstringdisplayeddoublex,y//xandyaretheoperandsintz//Zrepresentsanoperatorclicksthat0means"+",1indicates"-",2is"*",3is"/"staticdoublem//numberinmemoryJiSuanQi(){) - IMDN开发者社群-imdn.cn">
登录
首页 » Java » JiSuanQi

JiSuanQi

于 2013-05-24 发布 文件大小:2KB
0 96
下载积分: 1 下载次数: 3

代码说明:

  java实现计算器,import java.awt.* import java.awt.event.* import javax.swing.* public class JiSuanQi { Frame f Label lab Button[] bt=new Button[29] JTextField t StringBuffer str //显示屏所显示的字符串 double x,y //x和y都是运算数 int z //Z表示单击了那一个运算符.0表示"+",1表示"-",2表示"*",3表示"/" static double m //记忆的数字 JiSuanQi() {(java implementation calculator, import java.awt.* import java.awt.event.* import javax.swing.* public class JiSuanQi {Frame f Label lab Button [] bt = new Button [29] JTextField t StringBuffer str //display character string displayed double x, y //x and y are the operands int z //Z represents an operator clicks that 0 means " +" , 1 indicates " -" , 2 is " *" , 3 is " /" static double m //number in memory JiSuanQi () {)

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

发表评论

0 个回复

  • IP2v1
    This is code for whirlpool refrigerator appliance
    2014-01-15 04:18:59下载
    积分:1
  • Evaluate_Score
    利用已经使用的分数文本判断文本的分数等级。(The score level of the text is judged using the score text that has been used.)
    2020-06-17 17:20:02下载
    积分:1
  • disphelper
    说明:  jytfkcxxxfgjhhzdhsfdsgdarf
    2020-06-18 18:20:01下载
    积分:1
  • PING a small program, VC6.0 to prepare for the novice test.
    一个PING的小程序,VC6.0编写,供初学测试。-PING a small program, VC6.0 to prepare for the novice test.
    2022-01-26 03:02:39下载
    积分:1
  • neetyDemoTest
    netty简单运用,客户端服务端相互通信测试demo(Netty simple application, client server side communication)
    2018-10-31 12:06:41下载
    积分:1
  • RMI
    该程序是用java编写的一个用rmi远程调用的分布式会议系统,纯属原创,供大家参考和学习(The program is written in a java rmi remote call with a distributed conferencing systems, purely original, for your reference and learning)
    2013-11-26 23:17:10下载
    积分:1
  • Calc_V3
    利用开源的源码为一个朋友的V3手机手机写的科学计算器,个人觉得很好用。开发平台为Netbeans + Moto的SDK,可以用这个源码为任何一个支持java的手机写个类似的计算器(The use of open source code for a friend)
    2008-02-17 16:17:11下载
    积分:1
  • 动态规划
    leetcode初级算法,动态规划题解,c++实现(Leetcode primary algorithm, dynamic programming problem solving, C + + implementation)
    2020-06-24 02:40:02下载
    积分:1
  • lianliankan
    说明:  一款用VC++6.0写的连连看游戏和辅助工具代码。欢迎下载。(LianliankanGame)
    2009-07-26 15:45:58下载
    积分:1
  • 460418374vanet
    说明:  关于车辆自组织网络的MATLAB代码,有道路,车辆移动模型(About the MATLAB code of vehicle self-organizing network, there are road, vehicle movement model)
    2019-05-15 17:39:57下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 42今日下载