当前位置:网站首页>巩固表达式C# 案例简单变量运算
巩固表达式C# 案例简单变量运算
2022-07-04 23:48:00 【济南医疗小程序状元】
巩固表达式
#region 表达式74
int DemoB;// 先定义一个变量.存储数据值内容的一个杯子容器. 容器名字叫做DemoB,那些数据值内容好比是杯子中的水 water.
DemoB = (1 + 1) + (3 * 8);// 2+24=26 结果
Console.WriteLine("表达式结果是:"+DemoB);
int demoA;
demoA = (1 + 3) + (9 - 1);
Console.WriteLine("表达式2结果是:" +demoA);
int democ;
int ab = 1;
int qw = 2;
// 增加变量,变量处理
democ = (ab + 1) + (qw + 1);// 1+1+2+1=5
Console.WriteLine("表达式3结果是:"+democ);
效果
边栏推荐
- Illustrated network: what is gateway load balancing protocol GLBP?
- Qualcomm WLAN framework learning (30) -- components supporting dual sta
- 微服务(Microservice)那点事儿
- Intelligence test to see idioms guess ancient poems wechat applet source code
- 企业里Win10 开启BitLocker锁定磁盘,如何备份系统,当系统出现问题又如何恢复,快速恢复又兼顾系统安全(远程设备篇)
- 如何有效对直流列头柜进行监测
- Meet ThreadPoolExecutor
- [ODX studio edit PDX] -0.3- how to delete / modify inherited elements in variant variants
- 快解析内网穿透帮助企业快速实现协同办公
- Introduction to ACM combination counting
猜你喜欢
一次edu证书站的挖掘
人脸识别5- insight-face-paddle-代码实战笔记
phpcms付费阅读功能支付宝支付
【雅思阅读】王希伟阅读P4(matching1)
Using fast parsing intranet penetration to realize zero cost self built website
Fast parsing intranet penetration helps enterprises quickly achieve collaborative office
[IELTS reading] Wang Xiwei reading P4 (matching1)
OSEK standard ISO_ 17356 summary introduction
基于三维gis平台的消防系统运用
Using the uniapp rich text editor
随机推荐
Excel shortcut keys - always add
[binary tree] the maximum difference between a node and its ancestor
Réseau graphique: Qu'est - ce que le Protocole d'équilibrage de charge de passerelle glbp?
Business implementation - the log is written to the same row of data
js正则表达式之中文验证(转)
Question brushing guide public
蓝天NH55系列笔记本内存读写速度奇慢解决过程记录
Selected cutting-edge technical articles of Bi Ren Academy of science and technology
The initial arrangement of particles in SPH (solved by two pictures)
Hash table, hash function, bloom filter, consistency hash
go踩坑——no required module provides package : go.mod file not found in current directory or any parent
Application of multi loop instrument in base station "switching to direct"
Cross domain request
Mysql database backup and recovery -- mysqldump command
Mit-6.824-lab4b-2022 (10000 word idea explanation - code construction)
[Peking University] tensorflow2.0-1-opening
The difference between cout/cerr/clog
用快解析内网穿透实现零成本自建网站
Every time I look at the interface documents of my colleagues, I get confused and have a lot of problems...
使用快解析搭建自己的minecraft服务器