📜  在 D 中输入 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:34.396000             🧑  作者: Mango

代码示例1
//this is how you take input in D language
import std.stdio;

void main()
{
    writef("Enter your name: ");
    char[] name;
    name = readln();
    writef("Hello ", name);
}