-
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
-
解析银行表文件,银行表文件为银行通用的大概70M的一个文件...
解析银行表文件,银行表文件为银行通用的大概70M的一个文件-Table file to resolve the banks, the banks form a common document for the bank of a document about 70M
- 2023-03-22 14:45:04下载
- 积分:1
-
软件工程考前练习题,并附有答案.软件工程试题附答案是很好的热身试题....
软件工程考前练习题,并附有答案.软件工程试题附答案是很好的热身试题.-Software engineering test exercises, with answers. Software Engineering attached to answer questions is a good warm-up questions.
- 2022-03-19 11:53:46下载
- 积分:1
-
Chips and Technologies Super VGA Chip Sets
Chips and Technologies Super VGA Chip Sets
- 2022-08-24 04:28:07下载
- 积分:1
-
渣渣网络商店系统ZZShop v1.0完整运行程序,MYSQL数据库,APACHE服务器...
渣渣网络商店系统ZZShop v1.0完整运行程序,MYSQL数据库,APACHE服务器-Java Java store systems network integrity ZZShop v1.0 running the program, MYSQL database, APACHE server
- 2022-01-25 17:01:54下载
- 积分:1
-
一本介绍设计模式的好书
一本介绍设计模式的好书-introduced a design pattern books
- 2022-04-21 07:40:10下载
- 积分:1
-
图书信息管理系统的详细设计文档,包含可行性分析报告,需求分析和总体设计,非常详细...
图书信息管理系统的详细设计文档,包含可行性分析报告,需求分析和总体设计,非常详细-library information management system for the detailed design documents, including feasibility analysis, needs analysis and design, very detailed
- 2023-03-15 00:45:03下载
- 积分:1
-
这是软件工程的学习课件,其对软件工程中涉及到的各种问题都有详细的介绍。...
这是软件工程的学习课件,其对软件工程中涉及到的各种问题都有详细的介绍。-This is the software engineering learning courseware, software engineering related to the various issues are described in detail.
- 2022-01-26 06:18:50下载
- 积分:1
-
OPC Client 动态连接库开发和应用
OPC Client 动态连接库开发和应用-OPC Client ddl development and application
- 2022-04-26 13:24:39下载
- 积分:1
-
UML 2.0 in a Nutshe
UML 2.0 in a Nutshe
- 2022-02-05 21:10:02下载
- 积分:1