Ohjelmointi 1, syksy 2019, luento 09

9. luento: ma 7.10.2019 klo 12:15-14:00: Aliohjelmien kutsuminen, String, StringBuilder

Muu sisältö: ehtolauseet, luokan käyttäminen sekä olioviitteet

Funktiot ja järjestäminen

Järjestä kolme pahvilappua järjestykseen.

Aliohjelminen kutsuminen ja APIin lukeminen

Kysymyksiä:

# kutsuja
        // https://docs.microsoft.com/en-us/dotnet/api/system.console.writeline?view=netframework-4.7.2#System_Console_WriteLine_System_String_
        // Namespace:  System
        // Console.WriteLine Method (String)
        // public static void WriteLine(string value)

Yhdistetyt ehdot

Yhdistettyjen ehtojen totuustaulu

p q p && q p || q p ^ q !p
0 0 0 0 0 1
0 1 0 1 1 1
1 0 0 1 1 0
1 1 1 1 0 0
# osuuko

These are the current permissions for this document; please modify if needed. You can always modify these permissions from the manage page.