Update main.d

This commit is contained in:
Ki Rill 2019-12-15 17:35:35 +06:00 committed by GitHub
parent 2cf3e8f54c
commit 7a695bca29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -14,5 +14,7 @@ import std.stdio; // handles data input and output
// Our main function. Whenver you launch your program, it starts executing instructions from the main function.
// A function is a group of statements that performs a certain task.
void main() {
writeln("Hello, Dlang!"); // outputs text to terminal/console
writeln("Hello, Dlang!"); // outputs "Hello, Dlang!" to terminal/console
}