- 航空公司管理系统VB+SQL 1.将各个项目子目录拷贝到硬盘上
- Verilog-Experiment FPGA开发板Verilog源程序
- HashingToolbox it s from the hashing toolbox itis used to hash an image using the transformation wavelet you can have the whole hashing toolbox on the internet and it s fr
- data INOI 2012
- Modeling-and-Control-of-Fuel-Cells_-Distributed-G (IEEE Press Series on Power Engineering) M. H. Nehrir
- closestpair 在visual C++环境中
文件名称:caculator
-
所属分类:
- 标签属性:
- 上传时间:2011-11-05
-
文件大小:875byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
下载1 (875byte)
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容来自于网络,使用问题请自行百度
// caculator.cpp : Defines the entry point for the console application. // #include #include #include #include #include char e; int main(int argc, char *argv[]) { do { float a,c,d; char b; printf("input first number\n"); scanf("%f",&a); printf("input operator\n"); getchar(); scanf("%c",&b); printf("input the second number\n"); scanf("%f",&c); switch(b) { case'+':d=a+c;break; case'-':d=a-c;break; case'*':d=a*c;break; case'%':if(c==0) { printf("error\n"); break;} else d=a/c;break; case'^':d=pow(a,c);break; default:printf("error\n"); } printf("%f\n",d); printf("do you want to continue y/n\n"); getchar(); scanf("%c",&e);} while(e=='y'); return 0; }
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : Icaculator.txt 列表
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。