单项选择题

设实型变量pi已赋值为3.14159,下面不能输出3.14的语句是()

A.write(pi:0:2)
B.writeln(pi:1:2)
C.write(pi:2:2)
D.writeln(pi:2)