Skip to content

Latest commit

 

History

History
101 lines (61 loc) · 2.81 KB

README.md

File metadata and controls

101 lines (61 loc) · 2.81 KB

Hello, World!

The aim of this repository is to invite everyone to add their Hello, World! in all language you program.

How to?

To add your Hello, World! follow these 3 steps:

  • Create a fork of this repository.

  • Add your Hello, World! in the languages you master. See What I need to change in the code?

  • Finally, make a pull request and add a ⭐!

What I need to change in the code?

source : https://upload.wikimedia.org/wikipedia/commons/1/18/C_Programming_Language.svg C

You need to add this text in the int main() function.

printf("Hello, World! by UserName");

source : https://github.com/isocpp/logos/blob/master/cpp_logo.svg C++

You need to add this text in the int main() function.

std::cout << "Hello, World! by UserName" << std::endl;

source : https://docs.python.org/3/_static/py.svg Python

You need to add this text at the end of the file.

print("Hello, World! by UserName")

source : https://www.w3.org/html/logo/downloads/HTML5_Logo.svg HTML

You need to add this text in the <body> container.

<p>Hello, World! by UserName</p>

source : https://upload.wikimedia.org/wikipedia/commons/d/d5/Rust_programming_language_black_logo.svg Rust

You need to add this text in the main function.

println!("Hello, World! by UserName");

source : https://github.com/ocaml/ocaml.org/blob/main/asset/policies/logos/OCaml_Sticker.svg Ocaml

You need to add this expression in your script.

print_endline "Hello, World! by UserName"

source : https://en.wikipedia.org/wiki/File:JavaScript-logo.png JavaScript

You need to add this statement in your script.

console.log("Hello, World! by UserName")

source : https://cdn.worldvectorlogo.com/logos/gopher.svg Go

You need to add this text after the package main declaration

import "fmt"

And this statement in the main function

fmt.Println("Hello, World! by UserName")

source : https://gleam.run/images/lucy/lucy.svg Gleam

You need to add this text at the beginning of the file

import io

And this text at the end of the file

io.println("Hello, World! by UserName")