30.01.2014 Aufrufe

Translation Studies for Information Technologies V3- 02.03.11

Translation Studies for Information Technologies V3- 02.03.11

Translation Studies for Information Technologies V3- 02.03.11

MEHR ANZEIGEN
WENIGER ANZEIGEN

Sie wollen auch ein ePaper? Erhöhen Sie die Reichweite Ihrer Titel.

YUMPU macht aus Druck-PDFs automatisch weboptimierte ePaper, die Google liebt.

Motivation – 2<br />

public class SuchenSortieren {<br />

public static void ausgabeIntFeld(String bemerkung, int[] ausgabeFeld) {<br />

int laenge = ausgabeFeld.length;<br />

}<br />

System.out.print('\n' + bemerkung + "\n {");<br />

<strong>for</strong> (int i = 0; i < laenge-1; i++) {<br />

System.out.print(ausgabeFeld[i] + ", ");<br />

}<br />

System.out.println(ausgabeFeld[laenge-1] + "}");<br />

}<br />

public static void main(String[] args) {<br />

int[] feld1 = { 54 , 80 , 11 , 91 , 17 , 23 , 58 , 28 };<br />

}<br />

ausgabeIntFeld("Ergebnis:", feld1);<br />

Dieser Quellcode<br />

dient uns als Rumpf<br />

für die weiteren<br />

Betrachtungen<br />

INF2 – <strong>Translation</strong> <strong>Studies</strong> <strong>for</strong> In<strong>for</strong>mation <strong>Technologies</strong> <strong>V3</strong>- <strong>02.03.11</strong><br />

67

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!