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!

Python:
class Hello:
    def __init__(self, name):
        self.name = name

    def say_hello(self):
        print(f'Hello {self.name}')


if __name__ == '__main__':
    hello = Hello("Servin_Laughter")
    hello.say_hello()
 
JavaScript:
if(1+7=9) {
    console.log("bye bye world, wait i never get sent")
} else {
    setInterval(function(){
        console.dir("Hello World!!! Am I spamming?")
    }, 200)
        
}
 
11001000 11000101 11010011 11010011 11010110
11011001 11000001 11000011 11001000 11000101 11000001 11010011

(Sorry - no comma in EBCDIC)
 
Last edited:
C:
#include <stdio.h>

/*
* Obligatory comment for an obfuscated main function that outputs a hello message.
*
* @param argc - Count of command line arguments
* @param argv - Command line arguments
*
* @return 0 - For success
*/
int main(int argc, char** argv) {
    char your_name[] = "noturavgchristian";
    int my_encoded_name[] = {205, 205, 235, 155, 203, 223, 149};
    char my_name[8];
    int i;

    printf("Hello %s!\nI am ", your_name);

    for (i = 0; i < sizeof(my_encoded_name); i++) {   
        my_name[i] = (my_encoded_name[i] - 1) /2;
    }

    for (i = 7; i >= 0; i--) {
        printf("%c", my_name[i]);
    }
    printf(".\n");

    return 0;
}
 
HTML:
<!DOCTYPE html>
<html>
    <head>
        <title>Hello</title>
    </head>
    <body>
        <h1>Hello everyone!</h1>
        <p>How are you all doing?</p>
    </body>
</html>
 

New Threads

Latest posts

Buy us a coffee!

Back
Top Bottom