-
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
-
用windows画笔生成BMP文件f(x,y),图象宽为W,高为H,编写程序读取BMP文件,并生成新的图象g(x,y)。以BMP文件格式输出该图象。...
用windows画笔生成BMP文件f(x,y),图象宽为W,高为H,编写程序读取BMP文件,并生成新的图象g(x,y)。以BMP文件格式输出该图象。-Windows paintbrush used to generate BMP file f (x, y), image width W, height H, the preparation process to read BMP files, and generate new images g (x, y). BMP file format to the output of the image.
- 2023-04-15 16:25:04下载
- 积分:1
-
英文版的mpeg2系统结构,对TS帧结构以及PES的帧结构作了详尽的介绍...
英文版的mpeg2系统结构,对TS帧结构以及PES的帧结构作了详尽的介绍-English mpeg2 system structure, as well as the frame structure of the TS of the frame structure of PES detailed introduction
- 2023-02-06 01:25:04下载
- 积分:1
-
一篇doc格式的技术文章,FastNet编程讲稿
一篇doc格式的技术文章,FastNet编程讲稿-Doc format for a technical article, FastNet programming script
- 2022-01-26 03:13:35下载
- 积分:1
-
银行结算系统,用于描述花费,结余。帮助个人理财
银行结算系统,用于描述花费,结余。帮助个人理财-good
- 2022-05-24 03:38:22下载
- 积分:1
-
ktv210040 test software dongle. ktv210040 test software dongle.
ktv210040加密狗测试软件。 -ktv210040 test software dongle. ktv210040 test software dongle.
- 2022-10-29 00:25:03下载
- 积分:1
-
deleting cookiew ver 3 from computer
deleting cookiew ver 3 from computer
- 2022-08-07 13:04:04下载
- 积分:1
-
VB语言参考手册 VB编程学习的好资料
由美国微软公司授权出版的VB学习书...
VB语言参考手册 VB编程学习的好资料
由美国微软公司授权出版的VB学习书-VB Language Reference Manual to learn good information on VB programming
- 2023-09-07 12:25:04下载
- 积分:1
-
PV同步互斥银行排队
PV同步互斥银行排队
PV同步互斥银行排队PV同步互斥银行排队PV同步互斥银行排队PV同步互斥银行排队PV同步互斥银行排队
- 2022-04-30 18:48:28下载
- 积分:1
-
详细的介绍了编码的规范,值得参考的好内容
详细的介绍了编码的规范,值得参考的好内容-Detailed introduction of the coding rules, it is also useful good content
- 2022-02-01 05:28:20下载
- 积分:1