Konten dihapus Konten ditambahkan
|
|
== C ==
<syntaxhighlight lang="c">
#include <stdio.h>
int main() {
printf("Halo! Nama saya Luthfi Tri Atmaja!");
return 0;
}
</syntaxhighlight>
== C++ ==
<syntaxhighlight lang="c++">
#include <iostream>
int main() {
std::cout << "Halo! Nama saya Luthfi Tri Atmaja!";
return 0;
}
</syntaxhighlight>
== C# ==
<syntaxhighlight lang="c#" line="1">
using System;
namespace ConsoleApp
{
public static class ConsoleApp
{
public static void Main()
{
Console.WriteLine("Halo! Nama saya Luthfi Tri Atmaja!");
}
}
}
</syntaxhighlight>
== Dart ==
<syntaxhighlight lang="dart">
void main() {
print('Hello, World!');
}
</syntaxhighlight>
== JavaScript ==
<syntaxhighlight lang="javascript">
console.log('Halo! Nama saya Luthfi Tri Atmaja!');
</syntaxhighlight>
== PHP ==
<syntaxhighlight lang="php">
<?php echo 'Halo! Nama saya Luthfi Tri Atmaja!'; ?>
</syntaxhighlight>
== Python ==
<syntaxhighlight lang="python">
print("Halo! Nama saya Luthfi Tri Atmaja!")
</syntaxhighlight>
== Rust ==
<syntaxhighlight lang="rust">
fn main() {
println!("Halo! Nama saya Luthfi Tri Atmaja!");
}
</syntaxhighlight>
|