From 0929a42d629e3fa1186ad6d5bb970130f9e028c5 Mon Sep 17 00:00:00 2001 From: kittobi1992 Date: Tue, 25 Nov 2014 10:09:03 +0100 Subject: changing name again --- java/Introduction.tex | 12 ++++++++++++ java/Introduction.txt | 12 ------------ 2 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 java/Introduction.tex delete mode 100644 java/Introduction.txt diff --git a/java/Introduction.tex b/java/Introduction.tex new file mode 100644 index 0000000..d3b6cd9 --- /dev/null +++ b/java/Introduction.tex @@ -0,0 +1,12 @@ +\subsection{Introduction} + +\begin{enumerate} +\item Compilen: \\ javac main.java +\item Ausführen: \\ java main < sample.in +\item Einlesen: \\ +Scanner in = new Scanner(System.in); \\ +String line = in.nextLine(); (reads the next line of the input)\\ +int num = in.nextInt(); (reads the next token of the input as an int)\\ +double num2 = in.nextDouble(); (reads the next token of the input as a double)\\ +usw. \dot (think on your own what comes next) \\ +\ende{enumerate} diff --git a/java/Introduction.txt b/java/Introduction.txt deleted file mode 100644 index d3b6cd9..0000000 --- a/java/Introduction.txt +++ /dev/null @@ -1,12 +0,0 @@ -\subsection{Introduction} - -\begin{enumerate} -\item Compilen: \\ javac main.java -\item Ausführen: \\ java main < sample.in -\item Einlesen: \\ -Scanner in = new Scanner(System.in); \\ -String line = in.nextLine(); (reads the next line of the input)\\ -int num = in.nextInt(); (reads the next token of the input as an int)\\ -double num2 = in.nextDouble(); (reads the next token of the input as a double)\\ -usw. \dot (think on your own what comes next) \\ -\ende{enumerate} -- cgit v1.2.3