Java Quelltest in Struktogramm richtig umwandeln?

Hallo Leute, da wir bald in Java eine Klassenarbeit schreiben wollte ich hier mal nach eurer Hilfefragen. Mein Problem ist, ich weis nicht wie ich ein Struktogramm richtig zeichne. Mit dem Quelltest habe ich keine Probleme. Ich habe mich an einem Struktogramm mal gewagt und wollte euch um Hilfe bitte. Kann mir einer bitte aus meinem Quelltext ein Struktogramm zur Überprüfung machen? Bitte keine Software anbieten oder so , will nur ein Struktogramm zur Überprüfung :) danke

Danke schon mal im vorraus :)
int punkte1 = 0;
    int punkte2 = 0;
    int counter = 0;
    String auswahl2 =null;
    String auswahl1 =null;
    
    for (int i=0;i<3;i++){
    
    int zufallszahl = (int)(Math.random()* 3) +1;
    switch (zufallszahl){
    case 1: auswahl2= "X";
    break;
    case 2: auswahl2= "S";
    break;
    case 3: auswahl2= "P";
    break;
    default: auswahl2= "Ungültiger Wert";
    break;      
    }
    System.out.println(auswahl2);
    
    Scanner scanner = new Scanner(System.in);
    auswahl1 = scanner.nextLine();
    
    
    if (auswahl2.equals(auswahl1)){
        System.out.println("Gleichstand! weiter gehts");
        i--;
        
    }
    if (!auswahl2.equals(auswahl1)){
        if (auswahl2.equals("X") && auswahl1.equals("S")){
            punkte1++;
            counter++;
            System.out.println("Gewonnen, Super , weiter geths:)");
        }
        if (auswahl2.equals("S") && auswahl1.equals("P")){
            punkte1++;
            counter++;
            System.out.println("Gewonnen, Super , weiter geths:)");
        }
        if (auswahl2.equals("P") && auswahl1.equals("X")){
            punkte1++;
            counter++;
            System.out.println("Gewonnen, Super , weiter geths:)");
        }
            else {  punkte2++;
                    counter++;
            System.out.println("Leider verloren:/, versuche es nochmal");
            }}
        }
    
    System.out.println("Deine Auswahl: "+auswahl1);
    System.out.println("Automatische Auswahl: " +auswahl2);
    System.out.println("Ihre Spiel(e):" +counter);
    System.out.println("Aktueller Punktestand:"+ punkte1+":" +punkte2); 
...zum Beitrag

Bild Nummer 1 : http://www.bilder-upload.eu/show.php?file=be02ab-1462358422.png

Bild Nummer 2 : http://www.bilder-upload.eu/show.php?file=1f5c06-1462358473.png

...zur Antwort
Java Quelltest in Struktogramm richtig umwandeln?

Hallo Leute, da wir bald in Java eine Klassenarbeit schreiben wollte ich hier mal nach eurer Hilfefragen. Mein Problem ist, ich weis nicht wie ich ein Struktogramm richtig zeichne. Mit dem Quelltest habe ich keine Probleme. Ich habe mich an einem Struktogramm mal gewagt und wollte euch um Hilfe bitte. Kann mir einer bitte aus meinem Quelltext ein Struktogramm zur Überprüfung machen? Bitte keine Software anbieten oder so , will nur ein Struktogramm zur Überprüfung :) danke

Danke schon mal im vorraus :)
int punkte1 = 0;
    int punkte2 = 0;
    int counter = 0;
    String auswahl2 =null;
    String auswahl1 =null;
    
    for (int i=0;i<3;i++){
    
    int zufallszahl = (int)(Math.random()* 3) +1;
    switch (zufallszahl){
    case 1: auswahl2= "X";
    break;
    case 2: auswahl2= "S";
    break;
    case 3: auswahl2= "P";
    break;
    default: auswahl2= "Ungültiger Wert";
    break;      
    }
    System.out.println(auswahl2);
    
    Scanner scanner = new Scanner(System.in);
    auswahl1 = scanner.nextLine();
    
    
    if (auswahl2.equals(auswahl1)){
        System.out.println("Gleichstand! weiter gehts");
        i--;
        
    }
    if (!auswahl2.equals(auswahl1)){
        if (auswahl2.equals("X") && auswahl1.equals("S")){
            punkte1++;
            counter++;
            System.out.println("Gewonnen, Super , weiter geths:)");
        }
        if (auswahl2.equals("S") && auswahl1.equals("P")){
            punkte1++;
            counter++;
            System.out.println("Gewonnen, Super , weiter geths:)");
        }
        if (auswahl2.equals("P") && auswahl1.equals("X")){
            punkte1++;
            counter++;
            System.out.println("Gewonnen, Super , weiter geths:)");
        }
            else {  punkte2++;
                    counter++;
            System.out.println("Leider verloren:/, versuche es nochmal");
            }}
        }
    
    System.out.println("Deine Auswahl: "+auswahl1);
    System.out.println("Automatische Auswahl: " +auswahl2);
    System.out.println("Ihre Spiel(e):" +counter);
    System.out.println("Aktueller Punktestand:"+ punkte1+":" +punkte2); 
...zum Beitrag

Wie kann ich eine Datei anbinden oder wie stell ich das an?

...zur Antwort

Nein es ist eine andere "Verteilungssoftware", aber wenn es da kein anderen Weg gibt, muss das Ausschlussverfahren her. :)

...zur Antwort