input in D code example
Example: input in D
//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);
}
//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);
}