More programs for test.

This commit is contained in:
Christoffer Lerno
2022-08-28 20:22:48 +02:00
parent e82a7e7918
commit dabe5769dd
2 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import std::io;
fn void main()
{
char[][] greetings = {
"Hello, world!",
"¡Hola Mundo!",
"Γειά σου Κόσμε!",
"Привет, мир!",
"こんにちは世界!",
"你好世界!",
"नमस्ते दुनिया!",
"👋🌎!"
};
foreach (greeting : greetings)
{
io::println(greeting);
}
}