Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Fun activity Say hello... in a coding language!

C#:
void Main()
{
    var hellos = Hello.SetHellos();

    foreach (var hello in hellos)
    {
        Console.WriteLine(@$"How do you say Hello in {hello.Key}? You say {hello.Value}");
    }
}

public static class Hello
{

    public static SortedDictionary<string, string> SetHellos()
    {
        var allHellos = @"Afrikaans|hallo
Amharic|tena jistilign
Chichewa|moni
Hausa|salama alaikum
Igbo|ndêwó
Kinyarwanda|muraho
Lingala|mbote
Luganda|ki kati
Malagasy|manao ahoana
Ndebele|salibonani
Northern Sotho|dumêlang
Oromo|ashamaa
Sesotho|dumela
Shona|mhoro
Swahili|jambo
Swati|sawubona
Tigrinya|selam
Tsonga|avuxeni
Tswana|dumela
Wolof|salaam aleekum
Xhosa|molo
Yoruba|bawo
Zulu|sawubona
Armenian|barev dzez
Azerbaijani|salam
Bengali|nômoshkar
Burmese|mingalarba
Cambodian|chum reap suor
Cantonese|néih hóu
Chinese|nǐ hǎo
Dzongkhad|kuzu-zangpo
Georgian|gamarjoba
Gujarati|namaste
Hindi|namaste
Indonesian|halo
Japanese|konnichiwa
Kannada|namaste
Kazakh|sälemetsiz be?
Korean|annyeonghaseyo
Kyrgyz|salamatsyzby
Lao|sabaidee
Malay|selamat pagi
Malayalam|namaskaram
Mongolian|sain baina uu
Nepali|namaste
Pashto|salaam
Punjabi|sat sri akal ji
Sinhala|āyubōvan
Tagalog|kumusta?
Taiwanese Hokkien|lí-hó
Tamil|vaṇakkam
Tatar|isänmesez
Telugu|namaskārām
Thai|sà-wàt-dee
Tibetan|tashi delek
Urdu|āssālam ‘alaykum
Uyghur|ässalamu läykum
Uzbek|assalomu aleykum
Vietnamese|xin chào
Albanian|tungjatjeta
Basque|kaixo
Belarusian|vitaju
Breton|demat
Bulgarian|zdravejte
Bosnian|dobar dan
Catalan|hola
Croatian|bok
Czech|dobrý den
Danish|hallo
Dutch|hallo
Estonian|tere
Finnish|hyvää päivää
French|bonjour
Frisian|goeie
Irish|dia duit
Gaelic|halò
German|guten tag
Greek|yasass
Hungarian|szervusz
Icelandic|góðan dag
Italian|buon giorno
Latvian|sveika
Lithuanian|labas
Luxembourgish|moïen
Norwegian|god dag
Polish|dzień dobry
Portuguese|olá
Romanian|salut
Russian|zdravstvuyte
Serbian|zdravo
Slovak|dobrý deň
Slovenian|živjo
Spanish|hola
Swedish|hej
Ukrainian|dobriy den
Welsh|helo
Yiddish|a gutn tog
Arabic|as-salām ‘alaykum
Hebrew|shalom
Kurdish (Kurmanji)|merheba
Persian|salâm
Turkish|merhaba
Fijian|ni sa bula
Hawaiian|aloha
Maori|tēnā koe
Marshallese|yokwe
Palauan|alii
Samoan|tālofa
Tahitian|ia ora na
Tok Pisin|gude
Tongan|mālō e lelei";
        SortedDictionary<string, string> Languages = new SortedDictionary<string, string>();
        char[] splitVals = new char[] { '\r','\n' };
        var mSplit = allHellos.Split(splitVals, StringSplitOptions.RemoveEmptyEntries);
        foreach (var line in mSplit)
        {
            var getLang = line.Split('|', 2);
            Languages.Add(getLang[0], getLang[1]);
        }

        return Languages;
    }
}

Rich (BB code):
How do you say Hello in Afrikaans? You say hallo
How do you say Hello in Albanian? You say tungjatjeta
How do you say Hello in Amharic? You say tena jistilign
How do you say Hello in Arabic? You say as-salām ‘alaykum
How do you say Hello in Armenian? You say barev dzez
How do you say Hello in Azerbaijani? You say salam
How do you say Hello in Basque? You say kaixo
How do you say Hello in Belarusian? You say vitaju
How do you say Hello in Bengali? You say nômoshkar
How do you say Hello in Bosnian? You say dobar dan
How do you say Hello in Breton? You say demat
How do you say Hello in Bulgarian? You say zdravejte
How do you say Hello in Burmese? You say mingalarba
How do you say Hello in Cambodian? You say chum reap suor
How do you say Hello in Cantonese? You say néih hóu
How do you say Hello in Catalan? You say hola
How do you say Hello in Chichewa? You say moni
How do you say Hello in Chinese? You say nǐ hǎo
How do you say Hello in Croatian? You say bok
How do you say Hello in Czech? You say dobrý den
How do you say Hello in Danish? You say hallo
How do you say Hello in Dutch? You say hallo
How do you say Hello in Dzongkhad? You say kuzu-zangpo
How do you say Hello in Estonian? You say tere
How do you say Hello in Fijian? You say ni sa bula
How do you say Hello in Finnish? You say hyvää päivää
How do you say Hello in French? You say bonjour
How do you say Hello in Frisian? You say goeie
How do you say Hello in Gaelic? You say halò
How do you say Hello in Georgian? You say gamarjoba
How do you say Hello in German? You say guten tag
How do you say Hello in Greek? You say yasass
How do you say Hello in Gujarati? You say namaste
How do you say Hello in Hausa? You say salama alaikum
How do you say Hello in Hawaiian? You say aloha
How do you say Hello in Hebrew? You say shalom
How do you say Hello in Hindi? You say namaste
How do you say Hello in Hungarian? You say szervusz
How do you say Hello in Icelandic? You say góðan dag
How do you say Hello in Igbo? You say ndêwó
How do you say Hello in Indonesian? You say halo
How do you say Hello in Irish? You say dia duit
How do you say Hello in Italian? You say buon giorno
How do you say Hello in Japanese? You say konnichiwa
How do you say Hello in Kannada? You say namaste
How do you say Hello in Kazakh? You say sälemetsiz be?
How do you say Hello in Kinyarwanda? You say muraho
How do you say Hello in Korean? You say annyeonghaseyo
How do you say Hello in Kurdish (Kurmanji)? You say merheba
How do you say Hello in Kyrgyz? You say salamatsyzby
How do you say Hello in Lao? You say sabaidee
How do you say Hello in Latvian? You say sveika
How do you say Hello in Lingala? You say mbote
How do you say Hello in Lithuanian? You say labas
How do you say Hello in Luganda? You say ki kati
How do you say Hello in Luxembourgish? You say moïen
How do you say Hello in Malagasy? You say manao ahoana
How do you say Hello in Malay? You say selamat pagi
How do you say Hello in Malayalam? You say namaskaram
How do you say Hello in Maori? You say tēnā koe
How do you say Hello in Marshallese? You say yokwe
How do you say Hello in Mongolian? You say sain baina uu
How do you say Hello in Ndebele? You say salibonani
How do you say Hello in Nepali? You say namaste
How do you say Hello in Northern Sotho? You say dumêlang
How do you say Hello in Norwegian? You say god dag
How do you say Hello in Oromo? You say ashamaa
How do you say Hello in Palauan? You say alii
How do you say Hello in Pashto? You say salaam
How do you say Hello in Persian? You say salâm
How do you say Hello in Polish? You say dzień dobry
How do you say Hello in Portuguese? You say olá
How do you say Hello in Punjabi? You say sat sri akal ji
How do you say Hello in Romanian? You say salut
How do you say Hello in Russian? You say zdravstvuyte
How do you say Hello in Samoan? You say tālofa
How do you say Hello in Serbian? You say zdravo
How do you say Hello in Sesotho? You say dumela
How do you say Hello in Shona? You say mhoro
How do you say Hello in Sinhala? You say āyubōvan
How do you say Hello in Slovak? You say dobrý deň
How do you say Hello in Slovenian? You say živjo
How do you say Hello in Spanish? You say hola
How do you say Hello in Swahili? You say jambo
How do you say Hello in Swati? You say sawubona
How do you say Hello in Swedish? You say hej
How do you say Hello in Tagalog? You say kumusta?
How do you say Hello in Tahitian? You say ia ora na
How do you say Hello in Taiwanese Hokkien? You say lí-hó
How do you say Hello in Tamil? You say vaṇakkam
How do you say Hello in Tatar? You say isänmesez
How do you say Hello in Telugu? You say namaskārām
How do you say Hello in Thai? You say sà-wàt-dee
How do you say Hello in Tibetan? You say tashi delek
How do you say Hello in Tigrinya? You say selam
How do you say Hello in Tok Pisin? You say gude
How do you say Hello in Tongan? You say mālō e lelei
How do you say Hello in Tsonga? You say avuxeni
How do you say Hello in Tswana? You say dumela
How do you say Hello in Turkish? You say merhaba
How do you say Hello in Ukrainian? You say dobriy den
How do you say Hello in Urdu? You say āssālam ‘alaykum
How do you say Hello in Uyghur? You say ässalamu läykum
How do you say Hello in Uzbek? You say assalomu aleykum
How do you say Hello in Vietnamese? You say xin chào
How do you say Hello in Welsh? You say helo
How do you say Hello in Wolof? You say salaam aleekum
How do you say Hello in Xhosa? You say molo
How do you say Hello in Yiddish? You say a gutn tog
How do you say Hello in Yoruba? You say bawo
How do you say Hello in Zulu? You say sawubona
 
Hello Coders!

Let's do something fun! This is supposed to be a fun way for us as a community to engage and learn from each other.

Okay, here's how it goes. You can decide what language you want to use, and all you have to say is "Hello, (person above)!" in the language that you picked ([UWSL][UWSL][UWSL]Using the BBCode function)[/UWSL][/UWSL][/UWSL].
So here's an example
C++:
std::cout << "Hello, Master Yoda";
JavaScript:
<script>alert("hello")</script>
 
Last edited by a moderator:
Code:
; 6502 assembly language printHello function uses operating system osWRCH (write character function)

.printHello            ldy #0

.printHelloLoop        lda printHelloText, y
                    jsr osWRCH
                    iny
                    
                    cmp #' '
                    bcc printHelloLoop
                    rts
                    
.printHelloText        equs "Hello", 0
 
I know that Java has been done, but this is new. As of jdk 21 the following is a complete compilable runnable Java program…

Java:
void main() {
    System.out.println("Hello, World!");
}
 
Hello in various coding languages:
  1. Python:
    print("Hello, world!")

  2. JavaScript:
    console.log("Hello, world!");

  3. Java:
    System.out.println("Hello, world!");

  4. C++:
    #include <iostream>
    using namespace std;

    int main() {
    cout << "Hello, world!" << endl;
    return 0;
    }

  5. Ruby:
    puts "Hello, world!"

  6. PHP:
    <?php
    echo "Hello, world!";
    ?>

  7. Swift:
    print("Hello, world!")

  8. C#:
    using System;

    class Program {
    static void Main() {
    Console.WriteLine("Hello, world!");
    }
    }
I hope guys you like this.😉
 
HTML:
<h1 id="hello">
    
</h1>
<button onclick="say_hello()">
    Say hello
</button>
<script>
var hello = document.getElementById('hello');

function say_hello() {
    hello.innerHTML = "Hello trilient";
}
</script>
 
C++:
#include<bits/stdc++.h>

using namespace std;

class HelloMsg
{

    public:
        HelloMsg()
        {
            cout << "Hello ";
        }
};

class HelloName
{
    public:
        ~HelloName()
        {
            std::cout << "Malcolm!\n";
        }
};

int main()
{
    HelloMsg hello;
    HelloName name;
}
 
Hello Coders!

Let's do something fun! This is supposed to be a fun way for us as a community to engage and learn from each other.

Okay, here's how it goes. You can decide what language you want to use, and all you have to say is "Hello, (person above)!" in the language that you picked ([UWSL][UWSL][UWSL]Using the BBCode function)[/UWSL][/UWSL][/UWSL].
So here's an example
C++:
std::cout << "Hello, Master Yoda";
print("Hello fellow mulchmaxing woodchip eating sisters of the loam")
 

New Threads

Latest posts

Buy us a coffee!

Back
Top Bottom