Skip to content
Snippets Groups Projects
Commit a40d1bc2 authored by Peter Gerwinski's avatar Peter Gerwinski
Browse files

Beispiel-Programme 9.10.2017

parent 0ad11518
No related branches found
No related tags found
No related merge requests found
#include <stdio.h>
int main (void)
{
printf ("Hello, world!\n");
return 0;
}
No preview for this file type
...@@ -276,6 +276,9 @@ ...@@ -276,6 +276,9 @@
\item elektronische Rechner (Notebook, Taschenrechner o.\,ä.) \item elektronische Rechner (Notebook, Taschenrechner o.\,ä.)
\item \emph{kein\/} Internet-Zugang \item \emph{kein\/} Internet-Zugang
\end{itemize} \end{itemize}
\item
\textbf{Übungen}\\
finden bereits diese Woche statt.
\item \item
\textbf{Praktikumstermine:} \textbf{Praktikumstermine:}
\begin{itemize} \begin{itemize}
......
#include <stdio.h>
int main (void)
{
printf ("Die Antwort lautet: %d\n", 42);
return 0;
}
#include <stdio.h>
int main (void)
{
printf ("Die Antwort lautet: ");
printf (42);
printf ("\n");
return 0;
}
#include <stdio.h>
int main (void)
{
printf ("Die Antwort lautet: ");
printf ("42");
printf ("\n");
return 0;
}
#include <stdio.h>
int main (void)
{
printf ("Die Antwort lautet: ");
printf ("%d", 42);
printf ("\n");
return 0;
}
#include <stdio.h>
int main (void)
{
printf ("Die Antwort Nr. %d lautet: %d", 2, 137);
return 0;
}
#include <stdio.h>
int main (void)
{
printf ("Die Antwort Nr. %d lautet: %d\n", 2, 137);
return 0;
}
#include <stdio.h>
int main (void)
{
printf ("Die Antwort Nr. %d lautet: %d\n", 1 + 1, 1117 / 7);
return 0;
}
#include <stdio.h>
int main (void)
{
printf ("Die Antwort Nr. %d lautet: %d\n", a2, 1117 / 7);
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment