if的趣味游戏

29 阅读1分钟

image.png

注意图中if中的c = a + b,代表c被赋值为a + b。在if语句中=代表赋值,==才代表等于. image.png