-
C 计算器代码
/ * mustafasırrıinci * /
#include < stdio.h >
#include < stdlib.h >
#include < math.h >
int main ()
{
浮 int1 int2,结果 ;
char 操作 ;
printf("CALCULATORn") ;
开始:
printf ("nnEnter 两个整数 please.n") ;
printf("1.integer:") ;
scanf ("%f"& int1) ;
printf("2.integer:") ;
scanf ("%f"& int2) ;
选择:
printf ("nenter 操作的符号。") ;
printf ("naddition: + nsubtraction:-nmultiplication: * ndivision: /nexponention: ^ nto 退出:! n") ;
scanf ("%s"& 操作) ;
虽然 (操作! = "!")
{
switch(operation)
{
案件 "+":
结果 = int1 + int2 ;
打破 ;
案件 "-":
结果 = int1-int2 ;
打破 ;
案件 " *":
结果 = int1 * int2 ;
打破 ;
- 2022-08-13 04:26:33下载
- 积分:1
-
概要设计说明书
概要设计说明书-outline design brochures
- 2022-08-19 01:32:28下载
- 积分:1
-
数据结构二叉树实验报告,排序算法报告的详细设计
数据结构二叉树实验报告,排序算法报告的详细设计-Binary tree data structure, experimental report, the report sorting algorithm
- 2022-02-07 02:03:49下载
- 积分:1
-
北雨JSP商城系统,代码简洁易懂,是学习JSP的好例子
北雨JSP商城系统,代码简洁易懂,是学习JSP的好例子-North Mall rain JSP system, code easy to read, learning JSP is a good example
- 2022-03-02 08:00:27下载
- 积分:1
-
Vista rally 技术之 LLTD的spec
十分有用的东东
Vista rally 技术之 LLTD的spec
十分有用的东东
-LLTD technology Vista rally the spec very useful Dongdong
- 2023-06-17 13:50:04下载
- 积分:1
-
Software engineering document templates
软件工程文档国家标准模版,不会的下载参考一下罗-Software engineering document templates
- 2022-03-19 10:11:21下载
- 积分:1
-
对javascript的描述说明文档。其中包括许多使用的例子
对javascript的描述说明文档。其中包括许多使用的例子-javascript
- 2022-07-09 00:02:42下载
- 积分:1
-
Csharp深入浅出全接触这本书不错值得新手一看
Csharp深入浅出全接触这本书不错值得新手一看-CSharp Keys in layman
- 2022-02-05 05:09:35下载
- 积分:1
-
8051 based microcontroller project
8051 based microcontroller project
- 2022-08-20 20:29:32下载
- 积分:1
-
I2C 传输下载的看着还不错,希望对有的人有帮助
I2C 传输下载的看着还不错,希望对有的人有帮助-I2C Transfer download looked pretty good, I hope to help some people
- 2022-07-12 23:02:36下载
- 积分:1