Berlangganan

About Me


contoh 10

# include <iostream.h>

void main ()
{
    int m = 44, n = 66;

    cout<<"m = "<<m<<", n = "<<n<<endl;
    ++m; --n;
    cout<<"m = "<<m<<", n = "<<n<<endl;
    m++; n--;
    cout<<"m = "<<m<<", n = "<<n<<endl;
}

output

m = 44, n = 66
m = 45, n = 65
m = 46, n = 64

0 Response to "contoh 10"

Post a Comment