Algorithm
- Just Print Hello World.
- After Hello World print, add
new line
to reduce presentation error.
Code Examples
#1 Code Example with C Programming
Code -
C Programming
#include <stdio.h>
int main() {
printf("Hello World!\n");
return 0;
}
Copy The Code &
Try With Live Editor
Output
#2 C# Code Example for URI #1000
Code -
C++ Programming
using System;
class URI {
static void Main(string[] args) {
Console.WriteLine("Hello World!");
}
}
Copy The Code &
Try With Live Editor
Output
#3 Go Lang Solution of URI 1000 - Hello World
Code -
Python Programming
package main
import (
"fmt"
)
func main() {
fmt.Print("Hello World!\n")
}
Copy The Code &
Try With Live Editor
Output
#4 Code Example with PHP Programming
Code -
PHP Programming
Copy The Code &
Try With Live Editor
Output
Demonstration
It's a simple function to just print a string.
It'll just print the Hello World!
String to the output.
So, we need to know only how to print in any programming languages and we can solve it then.