Jump to content

User:Maddy from Celeste/sandbox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
foreign wikisource template
syntaxhighlight in image frame
Tag: Replaced
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Image frame|innerstyle=text-align:left;|content=
[[File:Wikisource-logo.svg|20px|Wikisource logo]] Works by or about [[:{{{1}}}:s:{{{2}}}|{{{2}}}]] at {{ISO 639 name|{{{1|en}}}}} [[Wikisource]]
<syntaxhighlight lang="C">
#include <stdio.h>

int
main (void)
{
puts ("Hello, world!");
return 0;
}
</syntaxhighlight>
<syntaxhighlight lang="Scheme">
(display "Hello, World")
</syntaxhighlight>
|caption=Hello world in C (top) and Scheme (bottom)
}}

Latest revision as of 21:38, 5 December 2023

#include <stdio.h>

int
main (void)
{
  puts ("Hello, world!");
  return 0;
}
(display "Hello, World")
Hello world in C (top) and Scheme (bottom)