变量x,y,z为int型,下面正确的输入语句是( )。
(A)read(x,y,z);
(B)scanf("%d%d%d",x,y,z)
(C)scanf("%D,%D,%D",&x,3,6);
(D)scanf("%d%d%d",&x,&y,&z);
Copyright ©