小米mix2白色陶瓷板:谁能帮帮我! 最基本的pascal输入语句

来源:百度文库 编辑:神马品牌网 时间:2024/05/01 01:33:21
输入语句示例
program shuru;
var
x:real;
c:char;
begin
write( please input the number: ($XXX.XX) );
readln(c,x);
writeln( The price is ,c,x)
end.

这里有什么用的:
write( please input the number: ($XXX.XX) );
readln(c,x);
writeln( The price is ,c,x)

谢谢说详细点好吗?我现在是在学入门!真的很感谢您!

write( please input the number: ($XXX.XX) ); //向屏幕输出提示
readln(c,x); //将用户输入的值赋值给变量C和变量X
writeln( The price is ,c,x) //输入变量C和X