The referenced paragraph does not exist.
The referenced paragraph does not exist.

Ohjelmointi 1, syksy 2017, luento 06

Väärä päivämäärä jäänyt vahingossa.

24 Sep 19

Vanhat videolinkit jäänyt.

24 Sep 19

6. luento: ti 19.09.2017 klo 14:15-16:00: Aihe: aliohjelman paluuarvo,

funktio ja parametrin välitys (luentokysymyksiä)

Kysymyksiä

Aliohjelmat ja funktiot

    /// <summary>
    /// 
    /// </summary>
    /// <param name="luku1"></param>
    /// <param name="luku2"></param>
    /// <returns></returns>
    /// <example>
    /// <pre name="test">
    ///  
    /// </pre>
    /// </example>
    /// <summary>
    /// 
    /// </summary>
    /// <param name="k"></param>
    /// <param name="maara"></param>
    /// <param name="isona"></param>
    /// <returns></returns>
    /// <example>
    /// <pre name="test">
    ///  
    /// </pre>
    /// </example>
    public static string Monista(char k, int maara, bool isona)
    {
        StringBuilder tulos = new StringBuilder("");
        char kirjain = Char.ToLower(k);
        if (isona) kirjain = Char.ToUpper(k);
        for (int i = 0; i < maara; i++)
            tulos.Append(kirjain);
        return tulos.ToString();
    }
# helloeka
# lumiukko1

Syntaksista

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