Hello, world!: Redaktələr arasındakı fərq
Silinən məzmun Əlavə edilmiş məzmun
Səhifəni ''''Salam dünya''' – proqramı kompüter ekranında "Hello, World!" yazısını çap edən proqramdır. Proqramlaşdırma dilləri öyrədilərkən ilkin nü...' ilə yarat |
k <source> -> <syntaxhighlight> |
||
Sətir 4:
[[Ada_dili|ADA]]:
<
procedure Hello is
begin
Ada.Text_IO.Put_Line ("Hello, world!");
end Hello;
</syntaxhighlight>
[[ASP]]:
<
<%
Response.write("Hello World!");
%>
</syntaxhighlight>
[[Basic]]:
<
print "Hello World!"
</syntaxhighlight>
[[C]]:
<
#include <stdio.h>
Sətir 30:
printf("Hello World!\n");
}
</syntaxhighlight>
[[C++]]:
<
#include <iostream>
Sətir 39:
std::cout<<"Hello World!\n";
}
</syntaxhighlight>
[[C#]]
<
class HelloWorldApp
{
Sətir 50:
}
}
</syntaxhighlight>
[[JavaScript]]:
<
document.write('Hello World!');
</syntaxhighlight>
[[Pascal]]:
<
begin
Writeln('Hello World!');
end.
</syntaxhighlight>
[[PHP]]:
<
<?
echo "Hello World!\n";
?>
</syntaxhighlight>
[[Seed7]]:
<
$ include "seed7_05.s7i";
Sətir 81:
writeln("Hello, world!");
end func;
</syntaxhighlight>
[[Java]]:
<
public class HelloWorld
{
Sətir 92:
}
}
</syntaxhighlight>
== Xarici keçidlər ==
|