The following are programs written in Ada, C and Java that print to the screen the phrase "Hello World."
ADA PROGRAMMING LANGUAGE
with Ada.Text_IO;
procedure Hello_World is
begin
Ada.Text_IO.Put_Line ("Hello World>br>from Ada");
end Hello_World;
C PROGRAMMING LANGUAGE
#include < stdio.h>
void main()
{
printf("\nHello World\n");
}
JAVA PROGRAMMING LANGUAGE
class helloworldjavaprogram
{
public static void main(String args[])
{
System.out.println("Hello World!");
}
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment