programiranje
Evo nekih primera kodova iz razlicitih compilera
#include <stdio.h>
int main()
{
printf("Hello, World!\n");
return 0;
}
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World" << endl;
return 0;
}
public class HelloWorld{
public static void main(String []args){
System.out.println("Hello World");
}
}
public class HelloWorld{
public static void main(String []args){
System.out.println("Hello World");
}
}
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\title{Introduction to \LaTeX{}}
\author{Author's Name}
\maketitle
\begin{abstract}
The abstract text goes here.
\end{abstract}
\section{Introduction}
Here is the text of your introduction.
\begin{equation}
\label{simple_equation}
\alpha = \sqrt{ \beta }
\end{equation}
\subsection{Subsection Heading Here}
Write your subsection text here.
\section{Conclusion}
Write your conclusion here.
\end{document}