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.

Empfohlene Antworten

Veröffentlicht

Hallo Fachinformatiker Community, ich habe einen Taschenrechner mit C# gebaut und soll nun das Programm so ändern, dass wenn das Ergebnis angezeigt wird, automatisch eine Frage kommt mit "wollen sie noch eine Rechnung eingeben, dann geben sie j ein wenn nicht n" oder so. auf jeden Fall brauche ich hilfe dabei, wie man auf das Programm wieder von vorne laufen lässt. 

Weiß jemand wie das geht? 

 

LG Max und danke schonmal

Gelöst von Gast Exception

Zur Lösung
  • Lösung

Hallo,

Verzweigungen und Schleifen sind deine Zauberwörter, nach denen du gerne mal suchen darfst. ?

P.S. Das erste Suchergebnis führt dich zu den Microsoft Dokumentationen. Mein Rat dazu: stelle die Website auf Englisch um (rechts oben), weil die deutschsprachige Seite wird mithilfe eines Übersetzungsprogramm grottenschlecht übersetzt.

Viele Grüße

Bearbeitet von Exception

Du kannst das Programm solange laufen lassen, wie $answer=false ist. Am Ende des Programms lässt du dann mit einer Eingabe die Varible $answer befüllen. Entweder mit true oder false, je nachdem was dein User eingibt. 

Das sollte für so ein Basis-Tutorial denke mal Okay sein.

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.