📄 c-arith_exp.c-
字号:
/* * test file arith_exp.c- * * test arithmetic expressions * * just uncomment the "println" statements to see the results * * */int main(){ int a=1,b=10,c=100,d; d = a + b; //println("1 plus 10, equals: "~d); d= a - b; //println("1 minus 10, equals: "~d); d = b * c; //println("10 times 100, equals: "~d); d = c / b; //println("100 divided by 10, equals: "~d); d = c % 60; //println("100 divided by 60, remainder is: "~d); d = a + b * c - (30+10)/10; println("mixture expression: d = a+b*c-(30+10)/10 = "~d); return 0;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -