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 zusammen,

ich bin ganz neu hier und auch in der Ausbildung und wollte fragen, ob ihr mir helfen könnt. Hab eine Aufgabe, die ich als Struktogramm darstellen soll. Wisst ihr, ob das so richtig ist? Oder müsste ich das als Sub-routine angeben, damit es keine public class ist? Danke schon mal! 

Eintrag.thumb.png.fbeed330b5e197f36ca48b4483d9b430.png

Ja, das kommt davon, wenn man dann direkt in Java loslegt. Oft verwirrt das nur.
Struktogramme sind sprachenunabhängig.
showtime sollte doch besser eine Methode sein, die eine Zeitangabe als Parameter annimmt.

show time ( int sekunden ) // so steht es im Aufgabentext

und ab dann ist alles in Sequenzen zu rechnen
hour, min, seconds wir du geschrieben hast.

Am Ende die Ausgabe

 

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.