Kreatives Programmieren

Es gibt 31 Antworten in diesem Thema. Der letzte Beitrag () ist von Gelöschter Benutzer.

    Wie bereits in [VB.NET] Forumsinterne Wettbewerbe besprochen, fange ich hier mal den passenden Thread dazu an.

    Mal sehen was euch zu folgender Aufgabe einfällt:

    Regeln:
    Keine WinForms, nur Konsole
    evtl. eine kleine Erklärung warum man die Aufgabe so gelöst hat
    Keine seitenlangen Diskussionen über das was hier gepostet wird

    Ziel:
    Ausgabe des Textes "I love VB-Paradise!"

    Vorgaben & Beschränkungen
    Text darf nicht in Variablen gespeichert werden (also Variablen nur für Counter & Objekte)
    Es dürfen keine Strings zum Bauen verwendet werden (also kein ... = "Paradise" oder ähnliches)
    Mindestens 20 Zeilen Code (hier werden nur die Zeilen gezählt, welche direkt mit der Manipulation des Textes zu tun haben)
    Maximal 50 Zeilen Code
    Der Code muss in folgenden Frameworks lauffähig sein 2, 3, 3.5, 4
    Das Programm muss folgenden Code sinnvoll verwenden:

    VB.NET-Quellcode

    1. Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)


    Mal sehen was euch hierzu einfällt :D

    Wichtig: Wenn ihr euren Code überarbeitet dann benutzt die Edit-Funktion und postet dies nicht jedes mal neu. damit das Ganze übersichtlich bleibt

    Edit by LaMa5: kleine Erweiterung
    - KEINE Beiträge als "Gib mir etwas Zeit" oder "Ich werde das heute abend machen"!
    SWYgeW91IGNhbiByZWFkIHRoaXMsIHlvdSdyZSBhIGdlZWsgOkQ=

    Weil einfach, einfach zu einfach ist! :D

    Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von „BiedermannS“ ()

    VB.NET-Quellcode

    1. Module Module1
    2. Sub Main()
    3. Dim ints As Array = {"73", "33", "108", "111", "118", "101", "33", "86", "66", "45", "80", "97", "100", "105", "115", "101", "33"}
    4. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    5. For i = 0 To ints.Length - 1
    6. Console.Write(ChrW(ints(i)))
    7. Next
    8. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    9. Console.Read()
    10. End Sub
    11. End Module

    Moderatorin: "Apropo ritzen.." Shin Chan: "hoho sie hat Po ritze gesagt"
    "saying to buy a mac because your anti-virus expired is like saying you're out of condoms so you're just going to go fuck dudes"
    "Wie auch in anderen Threads kann ich leider nichts bieten außer vielleicht spaß beim Skypen aber mehr leider auch nicht." - Sind kinder pornos nicht verboten?
    Ist das oben von mir gepostet allen Kriterien recht?
    Moderatorin: "Apropo ritzen.." Shin Chan: "hoho sie hat Po ritze gesagt"
    "saying to buy a mac because your anti-virus expired is like saying you're out of condoms so you're just going to go fuck dudes"
    "Wie auch in anderen Threads kann ich leider nichts bieten außer vielleicht spaß beim Skypen aber mehr leider auch nicht." - Sind kinder pornos nicht verboten?
    # = Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)
    nur halt mit chrw drüber gelaufen.

    VB.NET-Quellcode

    1. Module Module1
    2. Sub Main()
    3. Dim ints As Array = {"73", "32", "108", "111", "118", "101", "32", "86", "66", "45", "80", "97", "100", "105", "115", "101", "33"}
    4. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    5. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    6. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    7. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    8. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    9. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    10. For i = 0 To ints.Length - 1
    11. Console.Write(ChrW(ints(i)))
    12. Next
    13. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    14. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    15. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    16. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    17. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    18. Console.Read()
    19. End Sub
    20. End Module



    k
    Moderatorin: "Apropo ritzen.." Shin Chan: "hoho sie hat Po ritze gesagt"
    "saying to buy a mac because your anti-virus expired is like saying you're out of condoms so you're just going to go fuck dudes"
    "Wie auch in anderen Threads kann ich leider nichts bieten außer vielleicht spaß beim Skypen aber mehr leider auch nicht." - Sind kinder pornos nicht verboten?

    VB.NET-Quellcode

    1. Module Module1
    2. Sub Main()
    3. Dim ints As Array = {"73", "32", "108", "111", "118", "101", "32", "86", "66", "45", "80", "97", "114", "97", "100", "105", "115", "101", "33"}
    4. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    5. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    6. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    7. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    8. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    9. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    10. For i = 0 To ints.Length - 1
    11. Console.Write(ChrW(ints(i)))
    12. Next
    13. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    14. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    15. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    16. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    17. Console.Write(ChrW(CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))))
    18. Console.Read()
    19. End Sub
    20. End Module



    Moderatorin: "Apropo ritzen.." Shin Chan: "hoho sie hat Po ritze gesagt"
    "saying to buy a mac because your anti-virus expired is like saying you're out of condoms so you're just going to go fuck dudes"
    "Wie auch in anderen Threads kann ich leider nichts bieten außer vielleicht spaß beim Skypen aber mehr leider auch nicht." - Sind kinder pornos nicht verboten?

    BiedermannS schrieb:


    Das Programm muss folgenden Code sinnvoll verwenden:
    Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)


    # = Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)
    Moderatorin: "Apropo ritzen.." Shin Chan: "hoho sie hat Po ritze gesagt"
    "saying to buy a mac because your anti-virus expired is like saying you're out of condoms so you're just going to go fuck dudes"
    "Wie auch in anderen Threads kann ich leider nichts bieten außer vielleicht spaß beim Skypen aber mehr leider auch nicht." - Sind kinder pornos nicht verboten?

    VB.NET-Quellcode

    1. Module Module1
    2. Sub Main()
    3. Dim ints As Array = {((73 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((32 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((108 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((111 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((118 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((101 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((32 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((86 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((66 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((45 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((80 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((97 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((114 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((97 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((100 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((105 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((115 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((101 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((33 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))}
    4. For i = 0 To ints.Length - 1
    5. Console.Write(ChrW(ints(i)))
    6. Next
    7. Console.Read()
    8. End Sub
    9. End Module
    Moderatorin: "Apropo ritzen.." Shin Chan: "hoho sie hat Po ritze gesagt"
    "saying to buy a mac because your anti-virus expired is like saying you're out of condoms so you're just going to go fuck dudes"
    "Wie auch in anderen Threads kann ich leider nichts bieten außer vielleicht spaß beim Skypen aber mehr leider auch nicht." - Sind kinder pornos nicht verboten?

    VB.NET-Quellcode

    1. Module Module1
    2. Dim ints As Array = {"", "", "", "", ((118 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((101 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((32 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((86 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((66 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((45 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((80 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((97 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((114 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((97 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((100 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((105 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((115 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((101 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((33 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))}
    3. Public Sub one()
    4. ints(0) = ((73 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    5. ints(1) = ((32 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    6. ints(2) = ((108 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    7. ints(3) = ((111 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    8. End Sub
    9. Public Sub two()
    10. For i = 0 To ints.Length - 1
    11. Console.Write(ChrW(ints(i)))
    12. Next
    13. End Sub
    14. Public Sub three()
    15. Console.Read()
    16. End Sub
    17. Sub Main()
    18. one()
    19. two()
    20. three()
    21. End Sub
    22. End Module

    oder auch:

    VB.NET-Quellcode

    1. Module Module1
    2. Dim ints As Array = {vbNull, vbNull, vbNull, vbNull, ((118 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((101 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((32 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((86 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((66 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((45 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((80 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((97 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((114 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((97 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((100 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((105 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((115 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((101 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((33 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))}
    3. Public Sub one()
    4. ints(0) = ((73 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    5. ints(1) = ((32 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    6. ints(2) = ((108 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    7. ints(3) = ((111 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    8. End Sub
    9. Public Sub two()
    10. For i = 0 To ints.Length - 1
    11. Console.Write(ChrW(ints(i)))
    12. Next
    13. End Sub
    14. Public Sub three()
    15. Console.Read()
    16. End Sub
    17. Sub Main()
    18. one()
    19. two()
    20. three()
    21. End Sub
    22. End Module


    yo_face.jpg
    Moderatorin: "Apropo ritzen.." Shin Chan: "hoho sie hat Po ritze gesagt"
    "saying to buy a mac because your anti-virus expired is like saying you're out of condoms so you're just going to go fuck dudes"
    "Wie auch in anderen Threads kann ich leider nichts bieten außer vielleicht spaß beim Skypen aber mehr leider auch nicht." - Sind kinder pornos nicht verboten?

    VB.NET-Quellcode

    1. Module Module1
    2. Dim ints As Array = {vbNull, vbNull, vbNull, vbNull, vbNull, vbNull, vbNull, vbNull, vbNull, vbNull, vbNull, vbNull, ((114 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((97 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((100 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((105 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((115 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((101 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((33 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))}
    3. Public Sub one()
    4. ints(0) = ((73 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    5. ints(1) = ((32 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    6. ints(2) = ((108 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    7. ints(3) = ((111 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    8. ints(4) = ((118 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    9. ints(5) = ((101 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    10. ints(6) = ((32 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    11. ints(7) = ((86 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    12. ints(8) = ((66 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    13. ints(9) = ((45 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    14. ints(10) = ((80 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    15. ints(11) = ((97 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    16. End Sub
    17. Public Sub two()
    18. For i = 0 To ints.Length - 1
    19. Console.Write(ChrW(ints(i)))
    20. Next
    21. End Sub
    22. Public Sub three()
    23. Console.Read()
    24. End Sub
    25. Sub Main()
    26. one()
    27. two()
    28. three()
    29. End Sub
    30. End Module


    Spoiler anzeigen
    whatcha gonna say now, nigga?
    Moderatorin: "Apropo ritzen.." Shin Chan: "hoho sie hat Po ritze gesagt"
    "saying to buy a mac because your anti-virus expired is like saying you're out of condoms so you're just going to go fuck dudes"
    "Wie auch in anderen Threads kann ich leider nichts bieten außer vielleicht spaß beim Skypen aber mehr leider auch nicht." - Sind kinder pornos nicht verboten?

    Dieser Beitrag wurde bereits 4 mal editiert, zuletzt von „Glossy Cherry“ ()

    VB.NET-Quellcode

    1. Module Module1
    2. Dim ints As Array = {vbNull, vbNull, vbNull, vbNull, vbNull, vbNull, vbNull, vbNull, vbNull, vbNull, vbNull, vbNull, ((114 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((97 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((100 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((105 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((115 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((101 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))), ((33 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))}
    3. Public Sub one()
    4. ints(0) = ((73 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    5. ints(1) = ((32 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    6. ints(2) = ((108 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    7. ints(3) = ((111 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    8. ints(4) = ((118 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    9. ints(5) = ((101 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    10. ints(6) = ((32 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    11. ints(7) = ((86 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    12. ints(8) = ((66 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    13. ints(9) = ((45 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    14. ints(10) = ((80 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    15. ints(11) = ((97 - CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero))) + CInt(Math.Round(17 * Math.Sqrt(42) / Math.PI, System.MidpointRounding.AwayFromZero)))
    16. End Sub
    17. Public Sub two()
    18. For i = 0 To ints.Length - 1
    19. Console.Write(ChrW(ints(i)))
    20. Console.Write("")
    21. Console.Write("")
    22. Console.Write("")
    23. Console.Write("")
    24. Console.Write("")
    25. Console.Write("")
    26. Console.Write("")
    27. Console.Write("")
    28. Next
    29. End Sub
    30. Public Sub three()
    31. Console.Read()
    32. End Sub
    33. Sub Main()
    34. one()
    35. two()
    36. three()
    37. End Sub
    38. End Module


    k
    Moderatorin: "Apropo ritzen.." Shin Chan: "hoho sie hat Po ritze gesagt"
    "saying to buy a mac because your anti-virus expired is like saying you're out of condoms so you're just going to go fuck dudes"
    "Wie auch in anderen Threads kann ich leider nichts bieten außer vielleicht spaß beim Skypen aber mehr leider auch nicht." - Sind kinder pornos nicht verboten?