解析free pascal题目 整型与布尔型的转换 不理解题意

2025-03-22 06:06:08
推荐回答(1个)
回答1:

直接用 = 赋值就行了
boolean b;
longint n;
readln(n);
b=n;
n=b;
writeln(n);