Difference between revisions of "User:Renzo"

From Sistemi Operativi
Jump to navigation Jump to search
m
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[risposte a studenti giugno 2016]]
 +
 
This is a test in python:
 
This is a test in python:
 
<syntaxhighlight lang="python">
 
<syntaxhighlight lang="python">
Line 5: Line 7:
  
 
This is a test in C:
 
This is a test in C:
<syntaxhighlight lang="python">
+
<syntaxhighlight lang="C">
 
#include <stdio.h>
 
#include <stdio.h>
int main(int argc, char*argv[])
+
int main(int argc, char *argv[])
 
{
 
{
 
   printf("hello world\n");
 
   printf("hello world\n");
 
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
Formula test:
 +
<math>e^3</math>

Latest revision as of 08:14, 21 September 2018

risposte a studenti giugno 2016

This is a test in python:

print('hello world')

This is a test in C:

#include <stdio.h>
int main(int argc, char *argv[])
{
   printf("hello world\n");
}

Formula test: <math>e^3</math>