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.

Zwonkoh

User
  • Registriert

  • Letzter Besuch

  1. Zwonkoh hat sein Profilbild geändert
  2. habe es mit for schleifen, if abfrage und while probiert aber es zählt die runden nicht runter, hättest du eine lösung?
  3. Guten Tag, Habe folgendes problem, und zwar hab ich in einer Methode "Versuche" einen rundenzähler eingebaut der nach jedem falschen versuch -1 runterzählen soll und bei 0 das programm beendet, jedoch funktioniert dieser nicht und bräuchte nun hilfe. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace ConsoleApp2 { class Program { static void Main(string[] args) { //Initialisierung //--- Login(); } static void Login() { Console.Write("Bitte geben sie ihren Benutzernamen ein: "); string imput2 = Console.ReadLine(); Console.WriteLine("Ihr benutzername lautet: " + imput2); Console.WriteLine("Geben sie nun ihr Passwort ein"); string imput = Console.ReadLine(); //Passwort setzen if (imput == "9977") { Console.WriteLine("Du hast das richtige Passwort eingeben!"); Console.ReadKey(); } if (imput != "9977") { Console.WriteLine($@"{imput} ist das falsche Passwort"); Versuche(); Console.ReadKey(); Login(); } } static void beenden() { Thread.Sleep(1000); Console.Clear(); Console.ReadKey(); Login(); } public static int Versuche() { int i = 3; string imput = "9977"; if (imput != "9977") { Console.WriteLine("Du hast noch " + i + " versuche"); i--; } if (i < 1) { Console.WriteLine("Du hast keine Versuche mehr übrig"); } return i; } } }

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.