Berlangganan

About Me


contoh 3

# include <iostream.h>

void main ()
{
    const float phi = 3.14;
    float jari_jari, luas, keliling;

    jari_jari=7.0;

    luas = 0.5 * phi * jari_jari * jari_jari;
    keliling = 2 *phi * jari_jari;

    cout << " Luas Lingkaran     = " << luas << endl;
    cout << " Keliling Lingkaran = " << keliling;
}

0 Response to "contoh 3"

Post a Comment