简易计算器,计算简单的加减乘除,代码简单。
2021-10-04 13:00:11 201KB 计算的 算起 简易计算器
数据结构课程设计:一元稀疏多项式计算器源码,去年我写的。现在拿出来分享一下。
1
JAVA实现简单计算器源码 源码描述: 一、源码介绍 JAVA计算器,计算简单的功能实现。 二、主要功能 JAVA计算器,计算简单的功能实现。 三、注意事项 开发环境为eclipse,数据库为无
2021-09-23 13:02:47 933KB JAVA 计算器 eclipse 计算
1
基于51单片机+Proteus仿真的计算器源码及仿真图
2021-09-11 09:38:22 82KB 计算器
1
package ymq.demo03; import android.app.Activity; import android.os.Bundle; import android.view.*; import android.widget.*; public class demo03 extends Activity { /** Called when the activity is first created. */ String str=""; EditText et; int c=0,flag=0; double b=0.0,g=0.0,f=0.0; View vi; public boolean onCreateOptionsMenu(Menu menu) { // TODO Auto-generated method stub menu.add(0, 1, 1, "退出"); return super.onCreateOptionsMenu(menu); } @Override public boolean onOptionsItemSelected(MenuItem item) { // TODO Auto-generated method stub if(item.getItemId()==1){finish();} return super.onOptionsItemSelected(item); } //计算方法 public double calculater(){ switch(c){ case 0:f=g;break; case 1:f=b+g;break; case 2:f=b-g;break; case 3:f=b*g;break; case 4:f=b/g;break; } b=f; c=0; return f; } @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); //获得按键 final Button number[]=new Button[10]; final Button fuhao[]=new Button[11]; fuhao[0]=(Button)findViewById(R.id.button01); fuhao[1]=(Button)findViewById(R.id.button02); fuhao[2]=(Button)findViewById(R.id.button03); fuhao[3]=(Button)findViewById(R.id.button04); fuhao[4]=(Button)findViewById(R.id.button05); fuhao[5]=(Button)findViewById(R.id.button06); fuhao[6]=(Button)findViewById(R.id.buttonce); fuhao[7]=(Button)findViewById(R.id.buttonc); fuhao[8]=(Button)findViewById(R.id.zheng); fuhao[9]=(Button)findViewById(R.id.kaifang); fuhao[10]=(Button)findViewById(R.id.pingfang); number[0]=(Button)findViewById(R.id.button0); number[1]=(Button)findViewById(R.id.button1); number[2]=(Button)findViewById(R.id.button2); number[3]=(Button)findViewById(R.id.button3); number[4]=(Button)findViewById(R.id.button4); number[5]=(Button)findViewById(R.id.button5); number[6]=(Button)findViewById(R.id.button6); number[7]=(Butto
2021-08-31 17:23:03 4.75MB Android
1
合工大数据结构课程设计计算器源码
2021-08-21 13:04:15 913KB c++
1
:abacus:计算器 该项目是通过引导的。 可用脚本 在项目目录中,可以运行: yarn start 在开发模式下运行该应用程序。打开在浏览器中查看它。 如果您进行编辑,则页面将重新加载。您还将在控制台中看到任何棉绒错误。 yarn test 在交互式监视模式下启动测试运行程序。有关更多信息,请参见关于的部分。 yarn build 构建生产到应用程序build文件夹。它在生产模式下正确捆绑了React,并优化了构建以获得最佳性能。 生成被最小化,并且文件名包括哈希值。您的应用已准备好进行部署!
2021-08-18 18:43:34 386KB testing calculator typescript jest
1
汇编语言写的计算器源码,你学习汇编的起点。
2021-08-16 22:05:19 15KB 汇编,计算器,源码
1
Delphi7开发的计算器,支持表达式计算和标准计算(Windows XP计算器的计算方式)两种模式,测试通过考核,没有bug
2021-08-09 17:18:11 241KB 计算器 表达式计算
1