Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Astrova

User
  • Registriert

  • Letzter Besuch

Alle Beiträge von Astrova

  1. vielen dank! ok super, das schaue ich mir einmal an
  2. unten habe ich meinen ansatz gepostet
  3. genau, die größe wird jedoch zufällig gesetzt in dieser aufgabe, meinen Ansatz habe ich unten gepostet
  4. ich weiß leider nicht genau, wie ich hier meinen code angemessen anzeigen lassen kann, aber das hier ist mein ansatz bis jetzt
  5. [ public static int[] arrayNext(int[] array, int i1, int i2, int i3) { if(array[i1] > array[i2]){ int temp = array[i1]; array[i1] = array[i2]; array[i2] = temp; } if(array[i2] > array[i3]){ int temp2 = i2; array[i2] = array[i3]; array[i3] = temp2; } if(array[i1] > array[i2]){ int temp3 = array[i1]; array[i1] = array[i2]; array[i2] = temp3; } return array; }]
  6. Hallo, ich bin ein bisschen am verzweifeln und hoffe, dass mir hier jemand helfen kann. Mein Aufgabe lautet, dass ich die Werte der Komponenten eines Arrays an drei vorher zufällig gewählten Indizes so vertauschen soll, dass array[i1] ≤ array[i2] und array[i2] ≤ array[i3] gilt. Ich stehe noch am Anfang meines Studiums und weiß nicht genau, wie ich das Lösen kann. Vielen Dank für jede Hilfe!

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.