import std.stdio;
void main(){
immutable inchesPerFoot = 12;
immutable cmPerInch = 2.54;
foreach (feet;5..7){
foreach(inches; 0..inchesPerFoot){
writeln(feet, "'",inches,"''\t",(feet * inchesPerFoot + inches)* cmPerInch);
}
}
}
代码程序如上,请问应该如何设置或者加什么语句做到调试的时候小黑框不会闪一下就消失?
在程序最后加上
readln()