hello world example

Example 1: hello word c

#include <stdio.h>
int main() {
   // printf() displays the string inside quotation
   printf("Hello, World!");
   return 0;
}

Example 2: hello world

class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello, World!");
    }
}

Example 3: hello world

<style type="text/css">
h1 {
	color: DeepSkyBlue;
}
</style>

<h1>Hello, world!</h1>

Example 4: c hello world

#include <stdio.h>

int main() {
   // printf() displays the string inside quotation
   printf("Hello, World!");
   return 0;
}

Example 5: hello world program

#include <stdio.h>

int main ()
{
	printf ("Hello, World!\n");
    
    return 0;
}

Example 6: hello world in basic

PRINT "Hello, world!"