当前位置:网站首页>巩固表达式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);
效果
边栏推荐
- js正则表达式之中文验证(转)
- 业务实现-日志写到同一个行数据里面
- Significance of acrel EMS integrated energy efficiency platform in campus construction
- How to avoid arc generation—— Aafd fault arc detector solves the problem for you
- Basic points of the game setup of the points mall
- 45 year old professor, she threw two super unicorns
- A mining of edu certificate station
- Galera cluster of MariaDB - dual active and dual active installation settings
- 【js】-【动态规划】-笔记
- Compare two vis in LabVIEW
猜你喜欢
初试为锐捷交换机跨设备型号升级版本(以RG-S2952G-E为例)
QT addition calculator (simple case)
Illustrated network: what is gateway load balancing protocol GLBP?
微服务(Microservice)那点事儿
The caching feature of docker image and dockerfile
Application of multi loop instrument in base station "switching to direct"
How to effectively monitor the DC column head cabinet
The difference between debug and release
Fast analysis -- easy to use intranet security software
Fast parsing intranet penetration helps enterprises quickly achieve collaborative office
随机推荐
[binary tree] the maximum difference between a node and its ancestor
Expand your kubecl function
45岁教授,她投出2个超级独角兽
ICML 2022 || 3DLinker: 用于分子链接设计的E(3)等变变分自编码器
Microservice
go踩坑——no required module provides package : go.mod file not found in current directory or any parent
取得PMP證書需要多長時間?
如何报考PMP项目管理认证考试?
Using fast parsing intranet penetration to realize zero cost self built website
如果炒股开华泰证券的户,在网上开户安全吗?
[IELTS reading] Wang Xiwei reading P4 (matching1)
[IELTS reading] Wang Xiwei reading P3 (heading)
Qualcomm WLAN framework learning (30) -- components supporting dual sta
Jar批量管理小工具
Combien de temps faut - il pour obtenir un certificat PMP?
使用快解析搭建自己的minecraft服务器
Introduction to ACM combination counting
人脸识别5- insight-face-paddle-代码实战笔记
Ffmpeg quick clip
公司要上监控,Zabbix 和 Prometheus 怎么选?这么选准没错!