登录
首页 » 软件系统 » C 计算器代码

C 计算器代码

于 2022-08-13 发布 文件大小:2.11 kB
0 155
下载积分: 2 下载次数: 1

代码说明:

/ * 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 ; 打破 ;

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

发表评论

0 个回复

  • 经典常用工程书籍汇总
    1.软件的需求与分析2.设计模式可复用面向对象软件的基础 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2023-06-10 19:20:03下载
    积分:1
  • A very practical example of auto
    一个非常实用的自动编号的例子,给记录表自动编号。-A very practical example of auto-ID, to log numbers automatically.
    2023-03-25 18:05:03下载
    积分:1
  • 详细描述了语言之争,关于编程选择语言的所有逻辑和
    详细描述了语言之争,关于编程选择语言的所有逻辑和-A detailed description of the language dispute over the choice of language on the programming of all logic and
    2022-03-09 16:34:08下载
    积分:1
  • Supermarket POS management system
    POS超市管理系统-Supermarket POS management system
    2022-08-04 11:24:45下载
    积分:1
  • the high level architecture under development to members of the Federation of so...
    在高层体系结构下对开发的联邦成员软件的一致性测试的软件方法-the high level architecture under development to members of the Federation of software conformance testing software methods
    2023-01-14 00:55:04下载
    积分:1
  • UML(一建模语言)是一个很好的定义。易于表达,强大…
    UML( Unified Modeling Language )是一种定义良好,易于表达,功能强大且普遍实用的建模语言。它溶入了软件工程领域的新思想、新方法和新技术。它不仅可以支持面向对象的分析与设计,更重要的是能够有力地支持从需求分析开始的软件开发的全过程。需要说明的是,UML是一种建模语言,而不是一种方法。-UML (Unified Modeling Language) is a good definition. easy Expression, powerful and universal practical modeling language. Its integration into the software engineering field of new ideas, new methods and new technologies. It will not only support the object-oriented analysis and design, more important is the ability to effectively support the needs analysis from the beginning of the software development process. Need to note is that the UML is a modeling language, and not a method.
    2023-06-10 00:45:02下载
    积分:1
  • 视频播放器后台管理
    资源描述本系统是在linux系统下运行的视频点播器后台管理系统,主要用于初学者开始学习C++和linux下界面绘制使用。主要技术有C++面对对象编程,sqlite3数据库,NCurses界面绘制
    2022-04-07 18:33:09下载
    积分:1
  • 码率自适应LDPC的MATLAB源程序,老外给的,写得非常好。
    码率自适应LDPC的MATLAB源程序,老外给的,写得非常好。-Rate Adaptive LDPC MATLAB source files, to a foreigner, is very good.
    2022-04-11 06:20:56下载
    积分:1
  • 有关网页制作的指导教程。里面步骤很细致。适合初学者学习Frontpage...
    有关网页制作的指导教程。里面步骤很细致。适合初学者学习Frontpage-Guidance produced by the website tutorial. Step inside is very detailed. Suitable for beginners to learn Frontpage
    2022-03-22 08:12:37下载
    积分:1
  • A good modulus Software
    一个很好的取模软件 -A good modulus Software
    2022-04-14 11:02:13下载
    积分:1
  • 696516资源总数
  • 106462会员总数
  • 0今日下载