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.

BeppeCSharpNauter

User
  • Registriert

  • Letzter Besuch

  1.    BeppeCSharpNauter hat auf einen Beitrag in einem Thema reagiert: Petition FiAe 2025 Prüfung
  2. Wenn dann kriegen ein paar Punkte Abzug 😅
  3.    user2001 hat auf einen Beitrag in einem Thema reagiert: AP2 FIAE Algorithmen
  4.    BeppeCSharpNauter hat auf einen Beitrag in einem Thema reagiert: AP2 FIAE Algorithmen
  5. deine ist kürzer und leichtgewichtiger aber dass sollte kein einfluss haben
  6. Getestet habe ich und funktioniert... ich weiß nicht ob ich etwas ausgelassen habe 😥
  7. static public int RechnelastTage(DateTime anfang , DateTime ende , Belegung[] belegen , Station station) { DateTime t_date = anfang; int arrayLength = 0; while (t_date < ende) { arrayLength++; t_date = t_date.AddDays(1); } int[] tage = new int[arrayLength]; t_date = anfang; int j = 0; while (t_date < ende) // ich kann eigentlich direkt auf tage iterieren , aber bei der prüfung ist mir nicht eingefallen { for( int i = 0; i < belegen.Length; i++) { if (belegen[i].GetStart() >= anfang && belegen[i].GetEnd() <= ende && belegen[i].IdStation() == station.ID()) { tage[j]++; } } j++; t_date = t_date.AddDays(1); } int lastTage = 0; foreach ( int i in tage) { double last = (double)i / (double)station.AnzahlBett(); if ( last > 0.8) { lastTage++; } } return lastTage; }
  8.    BeppeCSharpNauter hat auf einen Beitrag in einem Thema reagiert: .NET UI Chaos ... was anwenden?
  9. Losung in C# ohne Linq Methoden public Flug[] GetListeFluege(int AnzahlPlaetze, DateTime Datum) { int count = 0; for (int i = 0; i < linie_Fluege.Length; i++) { if (linie_Fluege.GetDatum() == Datum && linie_Fluege.GetFreiePlaetze() >= AnzahlPlaetze) { count++; } } Flug[] Auswahl_Fluege = new Flug[count]; int index = 0; for (int i = 0; i < linie_Fluege.Length; i++) { if (linie_Fluege.GetDatum() == Datum && linie_Fluege.GetFreiePlaetze() >= AnzahlPlaetze) { Auswahl_Fluege[index] = linie_Fluege; index++; } } for (int i = 0; i < Auswahl_Fluege.Length - 1; i++) { for (int j = 0; j < Auswahl_Fluege.Length - i - 1; j++) { if (Auswahl_Fluege[j].GetPreis() < Auswahl_Fluege[j + 1].GetPreis()) { Flug temp = Auswahl_Fluege[j]; Auswahl_Fluege[j] = Auswahl_Fluege[j + 1]; Auswahl_Fluege[j + 1] = temp; } } } return Auswahl_Fluege; }

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.